NWDPResAddPrnDrvFile

Contains printer driver file information


Structure

typedef struct {  
NWDPOSTypeEnum osType;
pnstr16 driverDirName16Ptr;
pnstr16 fileName16Ptr;
} NWDPResAddPrnDrvFile, N_FAR *pNWDPResAddPrnDrvFile;


Header File

nwdp_res.h


Fields

osType

Specifies the operating system type:

0 NWDP_RES_OS_DOS
1 NWDP_RES_OS_WIN_31
2 NWDP_RES_OS_WIN_95
3 NWDP_RES_OS_WIN_NT
4 NWDP_RES_OS_OS_2
5 NWDP_RES_OS_MAC
6 NWDP_RES_OS_UNIX

driverDirName16Ptr

Set to NULL if you are adding a driver index (.INF) file, or points to the Unicode string containing the characters "new" if any other driver file type is being added.


fileName16Ptr

Points to a Unicode string containing a printer driver filename.


Remarks

Used by the NWDPResAddResourceFile function.

The Unicode string pointed to by the driverDirName16Ptr field is returned in the NWDPResCallbackItem structure when the NWDPResListResource function is called.