Scroll to navigation

GetPrintProcessorDirectoryW(3w) Wine API GetPrintProcessorDirectoryW(3w)

NAME

GetPrintProcessorDirectoryW (WINSPOOL.@)

SYNOPSIS

BOOL GetPrintProcessorDirectoryW
(
LPWSTR server,
LPWSTR env,
DWORD level,
LPBYTE Info,
DWORD cbBuf,
LPDWORD pcbNeeded
)
 

DESCRIPTION

Return the PATH for the Print-Processors.
 

PARAMS

server [In] Servername (NT only) or NULL (local Computer).
env [In] Printing-Environment (see below) or NULL (Default).
level [In] Structure-Level (must be 1).
Info [Out] PTR to Buffer that receives the Result.
cbBuf [In] Size of Buffer at "Info".
pcbNeeded [Out] PTR to DWORD that receives the size in Bytes used / required for the Buffer at "Info".
 

RETURNS

Success: TRUE and in pcbNeeded the Bytes used in Info
Failure: FALSE and in pcbNeeded the Bytes required for Info, if cbBuf is too small.
Native Values returned in Info on Success:
 

NT(Windows NT x86): "%winsysdir%\spool\PRTPROCS\w32x86"
 

NT(Windows 4.0): "%winsysdir%\spool\PRTPROCS\win40"
 

win9x(Windows 4.0): "%winsysdir%".
"%winsysdir%" is the Value from GetSystemDirectoryW(3w).
 

BUGS

Only NULL or "" is supported for server
 

IMPLEMENTATION

Declared in "winspool.h".
Implemented in "dlls/winspool.drv/info.c".
Debug channel "winspool".
Oct 2012 Wine API