[Printing] Update and Add Functions

Fix and Update WinSpool.idl.

Start forwards to LocalSpl.
This commit is contained in:
James Tabor 2020-08-02 14:49:06 -05:00
parent a77a65ab6d
commit 89e716a7f7
14 changed files with 330 additions and 41 deletions

View file

@ -834,11 +834,11 @@ typedef [switch_type(DWORD)] union _WINSPOOL_V2_UREPLY_PRINTER
}
WINSPOOL_V2_UREPLY_PRINTER;
typedef struct _WINSPOOL_FILE_INFO
typedef struct _WINSPOOL_FILE_INFO_1
{
BOOL bInheritHandle;
HANDLE hSpoolFileHandle;
DWORD dwOptions;
BOOL bInheritHandle;
WINSPOOL_HANDLE hSpoolFileHandle;
DWORD dwOptions;
}
WINSPOOL_FILE_INFO_1;
@ -1575,22 +1575,50 @@ interface winspool {
/* TODO */
);
/* Function 0x5B (TODO) */
/* Function 0x5B */
DWORD _RpcGetSpoolFileInfo(
/* TODO */
[in] WINSPOOL_PRINTER_HANDLE hPrinter,
[in] WINSPOOL_HANDLE hProcessHandle,
[in] DWORD Level,
[in] WINSPOOL_FILE_INFO_1* pFileInfo,
[in] DWORD dwSize,
[in] DWORD* dwNeeded
);
/* Function 0x5C (TODO) */
/* Function 0x5C */
DWORD _RpcCommitSpoolData(
/* TODO */
[in] WINSPOOL_PRINTER_HANDLE hPrinter,
[in] WINSPOOL_HANDLE hProcessHandle,
[in] DWORD cbCommit,
[in] DWORD Level,
[in] WINSPOOL_FILE_INFO_1* pFileInfo,
[in] DWORD dwSize,
[in] DWORD* dwNeeded
);
/* Function 0x5D (TODO) */
DWORD _RpcCloseSpoolFileHandle(
/* TODO */
/* Function 0x5D */
DWORD _RpcGetSpoolFileInfo2(
[in] WINSPOOL_PRINTER_HANDLE hPrinter,
[in] DWORD dwProcessId,
[in] DWORD Level,
[in] WINSPOOL_FILE_INFO_CONTAINER* pFileInfoContainer
);
/* Function 0x5E */
DWORD _RpcCommitSpoolData2(
[in] WINSPOOL_PRINTER_HANDLE hPrinter,
[in] DWORD dwProcessId,
[in] DWORD cbCommit,
[in] DWORD Level,
[in] WINSPOOL_FILE_INFO_CONTAINER* pFileInfoContainer
);
/* Function 0x5F */
DWORD _RpcCloseSpoolFileHandle(
[in] WINSPOOL_PRINTER_HANDLE hPrinter
);
/* Function 0x60 */
DWORD _RpcFlushPrinter(
[in] WINSPOOL_PRINTER_HANDLE hPrinter,
[in, size_is(cbBuf)] BYTE* pBuf,
@ -1599,7 +1627,7 @@ interface winspool {
[in] DWORD cSleep
);
/* Function 0x5F */
/* Function 0x61 */
DWORD _RpcSendRecvBidiData(
[in] WINSPOOL_PRINTER_HANDLE hPrinter,
[in, string, unique] const WCHAR* pAction,
@ -1607,7 +1635,7 @@ interface winspool {
[out] WINSPOOL_BIDI_RESPONSE_CONTAINER** ppRespData
);
/* Function 0x60 (TODO) */
/* Function 0x62 (TODO) */
DWORD _RpcAddDriverCatalog(
/* TODO */
);