Go to the source code of this file.
◆ CloseSpoolFileHandle()
Definition at line 119 of file spoolfile.c.
120{
123
124 FIXME(
"CloseSpoolFileHandle(%p, %p)\n", hPrinter,hSpoolFile);
125
127 {
129 }
131 {
134
135
137 {
139 }
141 {
143 ERR(
"_RpcloseSpoolFileHandle failed with exception code %lu!\n", dwErrorCode);
144 }
146 }
147 else
148 {
150 }
154}
DWORD _RpcCloseSpoolFileHandle(WINSPOOL_PRINTER_HANDLE hPrinter)
#define INVALID_HANDLE_VALUE
#define ERROR_INVALID_HANDLE
#define EXCEPTION_EXECUTE_HANDLER
#define RpcExceptionCode()
struct _SPOOLER_HANDLE * PSPOOLER_HANDLE
BOOL WINAPI IntUnprotectHandle(HANDLE)
LONG WINAPI IntProtectHandle(HANDLE, BOOL)
◆ CommitSpoolData()
Definition at line 65 of file spoolfile.c.
66{
67 DWORD dwErrorCode, cpid;
72
73 FIXME(
"CommitSpoolData(%p, %p, %d)\n", hPrinter,hSpoolFile,cbCommit);
74
76 {
77 return hHandle;
78 }
79
81 {
83 }
84 else
85 {
87
88 FileInfoContainer.
Level = 1;
90
91
93 {
95 }
97 {
99 ERR(
"_RpcCommitSpoolData failed with exception code %lu!\n", dwErrorCode);
100 }
102
104 {
106 {
109 }
111 }
113 }
115 return hHandle;
116}
DWORD _RpcCommitSpoolData2(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwProcessId, DWORD cbCommit, DWORD Level, WINSPOOL_FILE_INFO_CONTAINER *pFileInfoContainer)
WINSPOOL_HANDLE hSpoolFileHandle
union _WINSPOOL_FILE_INFO_CONTAINER::@3448 FileInfo
WINSPOOL_FILE_INFO_1 * pFileInfo1
DWORD WINAPI GetCurrentProcessId(void)
◆ GetSpoolFileHandle()
Definition at line 12 of file spoolfile.c.
13{
14 DWORD dwErrorCode, cpid;
19
20 FIXME(
"GetSpoolFileHandle(%p)\n", hPrinter);
21
23 {
25 }
26 else
27 {
29 {
31 }
32 else
33 {
35
36 FileInfoContainer.
Level = 1;
38
39
41 {
43 }
45 {
47 ERR(
"_RpcGetSpoolFileInfo failed with exception code %lu!\n", dwErrorCode);
48 }
50
52 {
56 }
57 }
59 }
61 return hHandle;
62}
DWORD _RpcGetSpoolFileInfo2(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwProcessId, DWORD Level, WINSPOOL_FILE_INFO_CONTAINER *pFileInfoContainer)