Rechercher une page de manuel
XcvDataW.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
XcvDataW (WINSPOOL.@)SYNOPSIS
BOOL XcvDataW(
HANDLE hXcv,
LPCWSTR pszDataName,
PBYTE pInputData,
DWORD cbInputData,
PBYTE pOutputData,
DWORD cbOutputData,
PDWORD pcbOutputNeeded,
PDWORD pdwStatus
)
DESCRIPTION
Execute commands in the Printmonitor dll .
PARAMS
hXcv [In] Handle from OpenPrinter (with XcvMonitor or XcvPort).pszDataName [In] Name of the command to execute.
pInputData [In] Buffer for extra Input Data (needed only for some commands).
cbInputData [In] Size in Bytes of Buffer at pInputData.
pOutputData [Out] Buffer to receive additional Data (needed only for some commands).
cbOutputData [In] Size in Bytes of Buffer at pOutputData.
pcbOutputNeeded [Out] PTR to receive the minimal Size in Bytes of the Buffer at pOutputData.
pdwStatus [Out] PTR to receive the Win32 error code from the Printmonitor dll .
RETURNS
Success: TRUE
Failure: FALSE.
NOTES
Returning "TRUE" does mean, that the Printmonitor dll was called successful. The execution of the command can still fail (check pdwStatus for ERROR_SUCCESS).
Minimal List of commands, that a Printmonitor dll should support:
"MonitorUI" : Return the Name of the Userinterface-DLL as WSTR in pOutputData
"AddPort" : Add a Port
"DeletePort": Delete a Port.
Many Printmonitors support additional commands. Examples for localspl.dll: "GetDefaultCommConfig", "SetDefaultCommConfig", "GetTransmissionRetryTimeout", "ConfigureLPTPortCommandOK"
IMPLEMENTATION
Defined in "winspool.h".
Implemented in "dlls/winspool.drv/info.c".
Debug channel "winspool".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre