dGetPrintProcessorDirectory

For Windows 2000, the default location for the print processor files is the \WINNT\system32\spool\prtprocs\w32x86 directory. To retrieve the location of this folder, use the "dGetPrintProcessorDirectory” function from the InstallDLL.

 

LONG dGetPrintProcessorDirectory (HWND MainWnd, LPLONG lpLong, LPSTR lpString)

 

Input value: MainWnd                - ignored, can be NULL.

Input value: lpLong                                - ignored, can be NULL.

Input value: lpString                               - will contain the full path to the folder.

Return value                                         - Returns 1 on success, otherwise returns 3