18 ERR(
"RpcImpersonateClient failed with error %lu!\n", dwErrorCode);
37 ERR(
"RpcImpersonateClient failed with error %lu!\n", dwErrorCode);
51 DWORD dwErrorCode, dwNeeded = 0;
57 ERR(
"RpcImpersonateClient failed with error %lu!\n", dwErrorCode);
79 DWORD dwErrorCode, dwNeeded = 0;
85 ERR(
"RpcImpersonateClient failed with error %lu!\n", dwErrorCode);
111 ERR(
"RpcImpersonateClient failed with error %lu!\n", dwErrorCode);
BOOL WINAPI SplGetSpoolFileInfo(HANDLE hPrinter, HANDLE hProcessHandle, DWORD Level, PFILE_INFO_1 pFileInfo, DWORD dwSize, DWORD *dwNeeded)
BOOL WINAPI SplCommitSpoolData(HANDLE hPrinter, HANDLE hProcessHandle, DWORD cbCommit, DWORD Level, PFILE_INFO_1 pFileInfo, DWORD dwSize, DWORD *dwNeeded)
BOOL WINAPI SplCloseSpoolFileHandle(HANDLE hPrinter)
DWORD _RpcGetSpoolFileInfo2(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwProcessId, DWORD Level, WINSPOOL_FILE_INFO_CONTAINER *pFileInfoContainer)
DWORD _RpcCommitSpoolData2(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwProcessId, DWORD cbCommit, DWORD Level, WINSPOOL_FILE_INFO_CONTAINER *pFileInfoContainer)
DWORD _RpcCloseSpoolFileHandle(WINSPOOL_PRINTER_HANDLE hPrinter)
DWORD _RpcGetSpoolFileInfo(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_HANDLE hProcessHandle, DWORD Level, WINSPOOL_FILE_INFO_1 *pFileInfo, DWORD dwSize, DWORD *dwNeeded)
DWORD _RpcCommitSpoolData(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_HANDLE hProcessHandle, DWORD cbCommit, DWORD Level, WINSPOOL_FILE_INFO_1 *pFileInfo, DWORD dwSize, DWORD *dwNeeded)
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
#define PROCESS_DUP_HANDLE
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
RPC_STATUS WINAPI RpcRevertToSelf(void)
RPC_STATUS WINAPI RpcImpersonateClient(RPC_BINDING_HANDLE BindingHandle)
union _WINSPOOL_FILE_INFO_CONTAINER::@3447 FileInfo
WINSPOOL_FILE_INFO_1 * pFileInfo1
DWORD WINAPI GetLastError(void)
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level