60 bReturnValue = pPrintProvider->
PrintProvider.fpDeleteMonitor(
pName, pEnvironment, pMonitorName);
89 if (cbBuf && !pMonitors)
100 cbCallBuffer = cbBuf;
101 pCallBuffer = pMonitors;
115 bReturnValue = pPrintProvider->
PrintProvider.fpEnumMonitors(
pName,
Level, pCallBuffer, cbCallBuffer, &cbNeeded, &dwReturned);
124 *pcReturned += dwReturned;
127 if (cbNeeded < cbCallBuffer)
128 cbCallBuffer -= cbNeeded;
134 pCallBuffer += cbNeeded;
BOOL WINAPI AddMonitorW(PWSTR pName, DWORD Level, PBYTE pMonitors)
BOOL WINAPI EnumMonitorsW(PWSTR pName, DWORD Level, PBYTE pMonitors, DWORD cbBuf, PDWORD pcbNeeded, PDWORD pcReturned)
BOOL WINAPI DeleteMonitorW(PWSTR pName, PWSTR pEnvironment, PWSTR pMonitorName)
base of all file and directory entries
struct _LIST_ENTRY * Flink
PRINTPROVIDOR PrintProvider
#define CONTAINING_RECORD(address, type, field)
LIST_ENTRY PrintProviderList
DWORD WINAPI GetLastError(void)
_In_ DWORD _Out_ PDWORD pcbNeeded
#define ERROR_INVALID_USER_BUFFER
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level