NWDPResListCallbackItem

Returns the requested resource information


Structure

typedef struct  
{
NWDPResListTypeEnum listType;
union
{
struct
{
pnstr16 printerType16Ptr;
pnstr16 printerMfr16Ptr;
pnstr16 infFileName16Ptr;
} ListPrnDrvTypesCB;

struct
{
pnstr16 printerType16Ptr;
pnstr16 printerMfr16Ptr;
pnstr16 infFileName16Ptr;
} ListPrnDefTypesCB;

pnstr16 bannerFileName16Ptr;
pnstr16 fontName16Ptr;

struct
{
pnstr16 fileName16Ptr;
pnstr16 driverDirName16Ptr;
pnstr16 infFileName16Ptr;
} ListPrnDrvFilesCB;

struct
{
pnstr16 defFileNamePtr;
NWDPResUnicodeSet win31KeySet;
NWDPResUnicodeSet win95KeySet;
} ListPrnDefFilesCB;

pnstr16 fontFileName16Ptr;
} callback_u;
} NWDPResListCallbackItem, N_FAR *pNWDPResListCallbackItem;


Header File

nwdp_res.h


Fields

listType

Specifies the list type enumeration values passed to NWDPResListResource.


printerType16Ptr

Points to a Unicode string containing the readable printer type.


printerMfr16Ptr

Points to a Unicode string containing the printer manufacturer name.


infFileName16Ptr

Points to a Unicode string containing the name of the index file printer type.


printerType16Ptr

Points to a Unicode string containing the readable printer type.


printerMfr16Ptr

Points to a Unicode string containing the printer manufacturer name.


infFileName16Ptr

Points to a Unicode string containing the name of the index file printer type.


bannerFileName16Ptr

Points to a Unicode string containing the banner filename.


fontName16Ptr

Points to a Unicode string containing the readable font name.


fileName16Ptr

Points to a Unicode string containing the filename of the driver component file.


driverDirName16Ptr

Points to a Unicode string containing the name of the resource manager subdirectory where component driver files are found (needed to call NWDPResGetResourceFile, NWDPResAddResourceFile (obsolete 9/98), and NWDPResDeleteResourceFile functions.


defFileName16Ptr

Points to a Unicode string containing the printer definition filename (.NPD filename).


win31KeySet

NWDPResUnicodeSet containing (in Unicode) matching printer type name(s) that match those in a Windows* 3.1 printer .INF file.


win95KeySet

NWDPResUnicodeSet containing (in Unicode) matching printer type name(s) that match those in a Windows* 95 printer .INF file.


fontFileName16Ptr

Points to a Unicode string containing the name of the actual font file that will be used to call the NWDPResGetResourceFile function.


Remarks

Used by the NWDPResListResource function.