32 ERR(
"A Print Provider returned ROUTER_STOP_ROUTING for Printer \"%S\"!\n",
pName);
67 bReturnValue = pPrintProvider->
PrintProvider.fpDeletePrinterDriverEx(
pName, pEnvironment, pDriverName, dwDeleteFlag, dwVersionFlag);
76 ERR(
"A Print Provider returned ROUTER_STOP_ROUTING for Printer \"%S\"!\n",
pName);
94 TRACE(
"DeletePrinterDriverW(%S, %S, %S)\n",
pName, pEnvironment, pDriverName);
114 if ( cbBuf && !pDriverInfo )
121 cbCallBuffer = cbBuf;
122 pCallBuffer = pDriverInfo;
133 Ret = pPrintProvider->
PrintProvider.fpEnumPrinterDrivers(
pName, pEnvironment,
Level, pCallBuffer, cbCallBuffer, &cbNeeded, &dwReturned);
142 *pcReturned += dwReturned;
145 if (cbNeeded < cbCallBuffer)
146 cbCallBuffer -= cbNeeded;
152 pCallBuffer += cbNeeded;
188 DWORD dwClientMajorVersion,
189 DWORD dwClientMinorVersion,
190 PDWORD pdwServerMajorVersion,
191 PDWORD pdwServerMinorVersion )
195 FIXME(
"GetPrinterDriverExW(%p, %lu, %lu, %p, %lu, %p, %lu, %lu, %p, %p)\n", hPrinter, pEnvironment,
Level, pDriverInfo, cbBuf,
pcbNeeded, dwClientMajorVersion, dwClientMinorVersion, pdwServerMajorVersion, pdwServerMinorVersion);
204 if ( cbBuf && !pDriverInfo )
221 if ( cbBuf && !pDriverDirectory )
241 ERR(
"A Print Provider returned ROUTER_STOP_ROUTING for Printer \"%S\"!\n",
pName);
BOOL WINAPI GetPrinterDriverExW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded, DWORD dwClientMajorVersion, DWORD dwClientMinorVersion, PDWORD pdwServerMajorVersion, PDWORD pdwServerMinorVersion)
BOOL WINAPI AddPrinterDriverW(PWSTR pName, DWORD Level, PBYTE pDriverInfo)
BOOL WINAPI DeletePrinterDriverW(PWSTR pName, PWSTR pEnvironment, PWSTR pDriverName)
BOOL WINAPI GetPrinterDriverDirectoryW(PWSTR pName, PWSTR pEnvironment, DWORD Level, PBYTE pDriverDirectory, DWORD cbBuf, PDWORD pcbNeeded)
BOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, PWSTR pEnvironment, DWORD Level, PBYTE pDriverInfo, DWORD cbBuf, PDWORD pcbNeeded)
BOOL WINAPI AddPrinterDriverExW(PWSTR pName, DWORD Level, PBYTE pDriverInfo, DWORD dwFileCopyFlags)
BOOL WINAPI EnumPrinterDriversW(PWSTR pName, PWSTR pEnvironment, DWORD Level, PBYTE pDriverInfo, DWORD cbBuf, PDWORD pcbNeeded, PDWORD pcReturned)
BOOL WINAPI DeletePrinterDriverExW(PWSTR pName, PWSTR pEnvironment, PWSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag)
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_NAME
static const WCHAR Cleanup[]
#define ROUTER_STOP_ROUTING
base of all file and directory entries
struct _LIST_ENTRY * Flink
PSPOOLSS_PRINT_PROVIDER pPrintProvider
PRINTPROVIDOR PrintProvider
#define CONTAINING_RECORD(address, type, field)
LIST_ENTRY PrintProviderList
struct _SPOOLSS_PRINTER_HANDLE * PSPOOLSS_PRINTER_HANDLE
DWORD WINAPI GetLastError(void)
_In_ DWORD _Out_ PDWORD pcbNeeded
#define ERROR_INVALID_USER_BUFFER
#define ERROR_INVALID_PRINTER_NAME
#define APD_COPY_NEW_FILES
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level