180 lines
22 KiB
C
180 lines
22 KiB
C
#include "kull_m_rpc_ms-par.h"
|
|
|
|
const UUID PAR_ObjectUUID = {0x9940ca8e, 0x512f, 0x4c58, {0x88, 0xa9, 0x61, 0x09, 0x8d, 0x68, 0x96, 0xbd}};
|
|
|
|
#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
|
|
typedef struct _ms2Dpar_MIDL_TYPE_FORMAT_STRING {
|
|
SHORT Pad;
|
|
UCHAR Format[751];
|
|
} ms2Dpar_MIDL_TYPE_FORMAT_STRING;
|
|
|
|
typedef struct _ms2Dpar_MIDL_PROC_FORMAT_STRING {
|
|
SHORT Pad;
|
|
UCHAR Format[387];
|
|
} ms2Dpar_MIDL_PROC_FORMAT_STRING;
|
|
|
|
extern const ms2Dpar_MIDL_TYPE_FORMAT_STRING ms2Dpar__MIDL_TypeFormatString;
|
|
extern const ms2Dpar_MIDL_PROC_FORMAT_STRING ms2Dpar__MIDL_ProcFormatString;
|
|
static const RPC_CLIENT_INTERFACE IRemoteWinspool___RpcClientInterface = {sizeof(RPC_CLIENT_INTERFACE), {{0x76f03f96, 0xcdfd, 0x44fc, {0xa2, 0x2c, 0x64, 0x95, 0x0a, 0x00, 0x12, 0x09}}, {1, 0}}, {{0x8a885d04, 0x1ceb, 0x11c9, {0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60}}, {2, 0}}, 0, 0, 0, 0, 0, 0x00000000};
|
|
static RPC_BINDING_HANDLE IRemoteWinspool__MIDL_AutoBindHandle;
|
|
static const MIDL_STUB_DESC IRemoteWinspool_StubDesc = {(void *)& IRemoteWinspool___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &IRemoteWinspool__MIDL_AutoBindHandle, 0, 0, 0, 0, ms2Dpar__MIDL_TypeFormatString.Format, 1, 0x60000, 0, 0x8000253, 0, 0, 0, 0x1, 0, 0, 0};
|
|
|
|
DWORD RpcAsyncOpenPrinter(handle_t hRemoteBinding, wchar_t *pPrinterName, PRINTER_HANDLE *pHandle, wchar_t *pDatatype, DEVMODE_CONTAINER *pDevModeContainer, DWORD AccessRequired, SPLCLIENT_CONTAINER *pClientInfo)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[0], hRemoteBinding, pPrinterName, pHandle, pDatatype, pDevModeContainer, AccessRequired, pClientInfo).Simple;
|
|
}
|
|
DWORD RpcAsyncClosePrinter(PRINTER_HANDLE *phPrinter)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[72], phPrinter).Simple;
|
|
}
|
|
DWORD RpcAsyncAddPrinterDriver(handle_t hRemoteBinding, wchar_t *pName, DRIVER_CONTAINER *pDriverContainer, DWORD dwFileCopyFlags)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[116], hRemoteBinding, pName, pDriverContainer, dwFileCopyFlags).Simple;
|
|
}
|
|
DWORD RpcAsyncEnumPrinterDrivers(handle_t hRemoteBinding, wchar_t *pName, wchar_t *pEnvironment, DWORD Level, unsigned char *pDrivers, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[170], hRemoteBinding, pName, pEnvironment, Level, pDrivers, cbBuf, pcbNeeded, pcReturned).Simple;
|
|
}
|
|
DWORD RpcAsyncGetPrinterDriverDirectory(handle_t hRemoteBinding, wchar_t *pName, wchar_t *pEnvironment, DWORD Level, unsigned char *pDriverDirectory, DWORD cbBuf, DWORD *pcbNeeded)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[248], hRemoteBinding, pName, pEnvironment, Level, pDriverDirectory, cbBuf, pcbNeeded).Simple;
|
|
}
|
|
DWORD RpcAsyncDeletePrinterDriverEx(handle_t hRemoteBinding, wchar_t *pName, wchar_t *pEnvironment, wchar_t *pDriverName, DWORD dwDeleteFlag, DWORD dwVersionNum)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[320], hRemoteBinding, pName, pEnvironment, pDriverName, dwDeleteFlag, dwVersionNum).Simple;
|
|
}
|
|
static const ms2Dpar_MIDL_PROC_FORMAT_STRING ms2Dpar__MIDL_ProcFormatString = {0, {
|
|
0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x32, 0x00, 0x00, 0x00, 0x08, 0x00, 0x40, 0x00, 0x46, 0x07, 0x0a, 0x05, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00,
|
|
0x08, 0x00, 0x02, 0x00, 0x10, 0x01, 0x10, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x18, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x20, 0x00, 0x1e, 0x00, 0x48, 0x00, 0x28, 0x00, 0x08, 0x00, 0x0b, 0x01, 0x30, 0x00,
|
|
0xa2, 0x00, 0x70, 0x00, 0x38, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x10, 0x00, 0x30, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x40, 0x00, 0x44, 0x02, 0x0a, 0x01,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x01, 0x00, 0x00, 0xb6, 0x00, 0x70, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x27, 0x00, 0x28, 0x00, 0x32, 0x00,
|
|
0x00, 0x00, 0x08, 0x00, 0x08, 0x00, 0x46, 0x04, 0x0a, 0x05, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x08, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x10, 0x00, 0xc6, 0x02, 0x48, 0x00,
|
|
0x18, 0x00, 0x08, 0x00, 0x70, 0x00, 0x20, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x48, 0x00, 0x32, 0x00, 0x00, 0x00, 0x10, 0x00, 0x40, 0x00, 0x47, 0x08, 0x0a, 0x07,
|
|
0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x08, 0x00, 0x02, 0x00, 0x0b, 0x00, 0x10, 0x00, 0x02, 0x00, 0x48, 0x00, 0x18, 0x00, 0x08, 0x00, 0x1b, 0x00, 0x20, 0x00, 0xd6, 0x02,
|
|
0x48, 0x00, 0x28, 0x00, 0x08, 0x00, 0x50, 0x21, 0x30, 0x00, 0x08, 0x00, 0x50, 0x21, 0x38, 0x00, 0x08, 0x00, 0x70, 0x00, 0x40, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x29, 0x00,
|
|
0x40, 0x00, 0x32, 0x00, 0x00, 0x00, 0x10, 0x00, 0x24, 0x00, 0x47, 0x07, 0x0a, 0x07, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x08, 0x00, 0x02, 0x00, 0x0b, 0x00, 0x10, 0x00,
|
|
0x02, 0x00, 0x48, 0x00, 0x18, 0x00, 0x08, 0x00, 0x1b, 0x00, 0x20, 0x00, 0xd6, 0x02, 0x48, 0x00, 0x28, 0x00, 0x08, 0x00, 0x50, 0x21, 0x30, 0x00, 0x08, 0x00, 0x70, 0x00, 0x38, 0x00, 0x08, 0x00,
|
|
0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x38, 0x00, 0x32, 0x00, 0x00, 0x00, 0x10, 0x00, 0x08, 0x00, 0x46, 0x06, 0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00,
|
|
0x08, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x10, 0x00, 0xec, 0x02, 0x0b, 0x01, 0x18, 0x00, 0xec, 0x02, 0x48, 0x00, 0x20, 0x00, 0x08, 0x00, 0x48, 0x00, 0x28, 0x00, 0x08, 0x00, 0x70, 0x00, 0x30, 0x00,
|
|
0x08, 0x00, 0x00,
|
|
}};
|
|
static const ms2Dpar_MIDL_TYPE_FORMAT_STRING ms2Dpar__MIDL_TypeFormatString = {0, {
|
|
0x00, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x11, 0x04, 0x02, 0x00, 0x30, 0xa0, 0x00, 0x00, 0x11, 0x00, 0x0e, 0x00, 0x1b, 0x00, 0x01, 0x00, 0x19, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x5b, 0x1a, 0x03,
|
|
0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x08, 0x40, 0x36, 0x5b, 0x12, 0x00, 0xe6, 0xff, 0x11, 0x00, 0x72, 0x00, 0x2b, 0x09, 0x09, 0x00, 0xf8, 0xff, 0x01, 0x00, 0x02, 0x00, 0x08, 0x00, 0x03, 0x30,
|
|
0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x28, 0x00, 0x03, 0x00, 0x00, 0x00, 0x30, 0x00, 0xff, 0xff, 0x12, 0x00, 0x02, 0x00, 0x1a, 0x03, 0x28, 0x00, 0x00, 0x00, 0x0c, 0x00,
|
|
0x08, 0x40, 0x36, 0x36, 0x08, 0x08, 0x08, 0x06, 0x3e, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x02, 0x00, 0x1a, 0x03, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb8, 0x5b,
|
|
0x12, 0x00, 0x02, 0x00, 0x1a, 0x07, 0x38, 0x00, 0x00, 0x00, 0x10, 0x00, 0x08, 0x08, 0x08, 0x40, 0x36, 0x36, 0x08, 0x08, 0x08, 0x06, 0x3e, 0x0b, 0x5c, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08,
|
|
0x25, 0x5c, 0x1a, 0x03, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x40, 0x4c, 0x00, 0x84, 0xff, 0x5c, 0x5b, 0x11, 0x04, 0x02, 0x00, 0x30, 0xe1, 0x00, 0x00, 0x11, 0x00, 0x0a, 0x02, 0x2b, 0x09,
|
|
0x09, 0x00, 0xf8, 0xff, 0x01, 0x00, 0x02, 0x00, 0x08, 0x00, 0x06, 0x30, 0x01, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x03, 0x00, 0x00, 0x00, 0x50, 0x00, 0x04, 0x00,
|
|
0x00, 0x00, 0x94, 0x00, 0x06, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x01, 0xff, 0xff, 0x12, 0x00, 0x02, 0x00, 0x1a, 0x03, 0x08, 0x00, 0x00, 0x00, 0x04, 0x00, 0x36, 0x5b,
|
|
0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x02, 0x00, 0x1a, 0x03, 0x30, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x08, 0x40, 0x36, 0x36, 0x36, 0x36, 0x36, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c,
|
|
0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x0e, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00, 0x48, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x1a, 0x03, 0x58, 0x00,
|
|
0x00, 0x00, 0x10, 0x00, 0x08, 0x40, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x08, 0x40, 0x36, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08,
|
|
0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0xbc, 0xff, 0x12, 0x00, 0x0e, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00,
|
|
0x58, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x1a, 0x03, 0x68, 0x00, 0x00, 0x00, 0x14, 0x00, 0x08, 0x40, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x08, 0x40, 0x36, 0x08, 0x40, 0x36, 0x5c, 0x5b,
|
|
0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c,
|
|
0x12, 0x00, 0x6e, 0xff, 0x12, 0x00, 0xb4, 0xff, 0x12, 0x00, 0x0a, 0x00, 0x15, 0x03, 0x08, 0x00, 0x08, 0x08, 0x5c, 0x5b, 0x1a, 0x07, 0x98, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x08, 0x40, 0x36, 0x36,
|
|
0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x08, 0x40, 0x36, 0x08, 0x40, 0x36, 0x4c, 0x00, 0xde, 0xff, 0x0b, 0x36, 0x36, 0x36, 0x36, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08,
|
|
0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x18, 0xff, 0x12, 0x00, 0x5e, 0xff, 0x12, 0x08,
|
|
0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x1a, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00, 0xa8, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x1b, 0x01,
|
|
0x02, 0x00, 0x19, 0x00, 0xc4, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x1a, 0x07, 0xe0, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x08, 0x40, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x08, 0x40, 0x36, 0x08,
|
|
0x40, 0x36, 0x4c, 0x00, 0x68, 0xff, 0x0b, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x08, 0x40, 0x36, 0x36, 0x08, 0x08, 0x36, 0x4c, 0x00, 0x56, 0xff, 0x0b, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08,
|
|
0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x94, 0xfe, 0x12, 0x00,
|
|
0xda, 0xfe, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x76, 0xff, 0x12, 0x08,
|
|
0x25, 0x5c, 0x12, 0x00, 0x7a, 0xff, 0x1a, 0x03, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x40, 0x4c, 0x00, 0xec, 0xfd, 0x5c, 0x5b, 0x12, 0x00, 0x02, 0x00, 0x1b, 0x00, 0x01, 0x00, 0x29, 0x00,
|
|
0x28, 0x00, 0x00, 0x00, 0x02, 0x5b, 0x11, 0x0c, 0x08, 0x5c, 0x11, 0x08, 0x25, 0x5c, 0x00,
|
|
}};
|
|
#elif defined(_M_IX86)
|
|
typedef struct _ms2Dpar_MIDL_TYPE_FORMAT_STRING {
|
|
SHORT Pad;
|
|
UCHAR Format[1091];
|
|
} ms2Dpar_MIDL_TYPE_FORMAT_STRING;
|
|
|
|
typedef struct _ms2Dpar_MIDL_PROC_FORMAT_STRING {
|
|
SHORT Pad;
|
|
UCHAR Format[375];
|
|
} ms2Dpar_MIDL_PROC_FORMAT_STRING;
|
|
|
|
extern const ms2Dpar_MIDL_TYPE_FORMAT_STRING ms2Dpar__MIDL_TypeFormatString;
|
|
extern const ms2Dpar_MIDL_PROC_FORMAT_STRING ms2Dpar__MIDL_ProcFormatString;
|
|
static const RPC_CLIENT_INTERFACE IRemoteWinspool___RpcClientInterface = {sizeof(RPC_CLIENT_INTERFACE), {{0x76f03f96, 0xcdfd, 0x44fc, {0xa2, 0x2c, 0x64, 0x95, 0x0a, 0x00, 0x12, 0x09}}, {1, 0}}, {{0x8a885d04, 0x1ceb, 0x11c9, {0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60}}, {2, 0}}, 0, 0, 0, 0, 0, 0x00000000};
|
|
static RPC_BINDING_HANDLE IRemoteWinspool__MIDL_AutoBindHandle;
|
|
static const MIDL_STUB_DESC IRemoteWinspool_StubDesc = {(void *)& IRemoteWinspool___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &IRemoteWinspool__MIDL_AutoBindHandle, 0, 0, 0, 0, ms2Dpar__MIDL_TypeFormatString.Format, 1, 0x60000, 0, 0x8000253, 0, 0, 0, 0x1, 0, 0, 0};
|
|
#pragma optimize("", off)
|
|
DWORD RpcAsyncOpenPrinter(handle_t hRemoteBinding, wchar_t *pPrinterName, PRINTER_HANDLE *pHandle, wchar_t *pDatatype, DEVMODE_CONTAINER *pDevModeContainer, DWORD AccessRequired, SPLCLIENT_CONTAINER *pClientInfo)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC ) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[0], (unsigned char *) &hRemoteBinding).Simple;
|
|
}
|
|
DWORD RpcAsyncClosePrinter(PRINTER_HANDLE *phPrinter)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[70], (unsigned char *) &phPrinter).Simple;
|
|
}
|
|
DWORD RpcAsyncAddPrinterDriver(handle_t hRemoteBinding, wchar_t *pName, DRIVER_CONTAINER *pDriverContainer, DWORD dwFileCopyFlags)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[112], (unsigned char *) &hRemoteBinding).Simple;
|
|
}
|
|
DWORD RpcAsyncEnumPrinterDrivers(handle_t hRemoteBinding, wchar_t *pName, wchar_t *pEnvironment, DWORD Level, unsigned char *pDrivers, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[164], (unsigned char *) &hRemoteBinding).Simple;
|
|
}
|
|
DWORD RpcAsyncGetPrinterDriverDirectory(handle_t hRemoteBinding, wchar_t *pName, wchar_t *pEnvironment, DWORD Level, unsigned char *pDriverDirectory, DWORD cbBuf, DWORD *pcbNeeded)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[240], ( unsigned char *) &hRemoteBinding).Simple;
|
|
}
|
|
DWORD RpcAsyncDeletePrinterDriverEx(handle_t hRemoteBinding, wchar_t *pName, wchar_t *pEnvironment, wchar_t *pDriverName, DWORD dwDeleteFlag, DWORD dwVersionNum)
|
|
{
|
|
return (DWORD) NdrClientCall2((PMIDL_STUB_DESC) &IRemoteWinspool_StubDesc, (PFORMAT_STRING) &ms2Dpar__MIDL_ProcFormatString.Format[310], (unsigned char *) &hRemoteBinding).Simple;
|
|
}
|
|
#pragma optimize("", on)
|
|
static const ms2Dpar_MIDL_PROC_FORMAT_STRING ms2Dpar__MIDL_ProcFormatString = {0, {
|
|
0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x32, 0x00, 0x00, 0x00, 0x08, 0x00, 0x40, 0x00, 0x46, 0x07, 0x08, 0x05, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x04, 0x00,
|
|
0x02, 0x00, 0x10, 0x01, 0x08, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x10, 0x00, 0x1e, 0x00, 0x48, 0x00, 0x14, 0x00, 0x08, 0x00, 0x0b, 0x01, 0x18, 0x00, 0xac, 0x00,
|
|
0x70, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x08, 0x00, 0x30, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x40, 0x00, 0x44, 0x02, 0x08, 0x01, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x18, 0x01, 0x00, 0x00, 0xbe, 0x00, 0x70, 0x00, 0x04, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x27, 0x00, 0x14, 0x00, 0x32, 0x00, 0x00, 0x00, 0x08, 0x00,
|
|
0x08, 0x00, 0x46, 0x04, 0x08, 0x05, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x04, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x08, 0x00, 0x1c, 0x04, 0x48, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x70, 0x00,
|
|
0x10, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x24, 0x00, 0x32, 0x00, 0x00, 0x00, 0x10, 0x00, 0x40, 0x00, 0x47, 0x08, 0x08, 0x07, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x0b, 0x00, 0x04, 0x00, 0x02, 0x00, 0x0b, 0x00, 0x08, 0x00, 0x02, 0x00, 0x48, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x1b, 0x00, 0x10, 0x00, 0x2a, 0x04, 0x48, 0x00, 0x14, 0x00, 0x08, 0x00, 0x50, 0x21,
|
|
0x18, 0x00, 0x08, 0x00, 0x50, 0x21, 0x1c, 0x00, 0x08, 0x00, 0x70, 0x00, 0x20, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x29, 0x00, 0x20, 0x00, 0x32, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
0x24, 0x00, 0x47, 0x07, 0x08, 0x07, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x04, 0x00, 0x02, 0x00, 0x0b, 0x00, 0x08, 0x00, 0x02, 0x00, 0x48, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x1b, 0x00,
|
|
0x10, 0x00, 0x2a, 0x04, 0x48, 0x00, 0x14, 0x00, 0x08, 0x00, 0x50, 0x21, 0x18, 0x00, 0x08, 0x00, 0x70, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x1c, 0x00,
|
|
0x32, 0x00, 0x00, 0x00, 0x10, 0x00, 0x08, 0x00, 0x46, 0x06, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x04, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x08, 0x00, 0x40, 0x04, 0x0b, 0x01,
|
|
0x0c, 0x00, 0x40, 0x04, 0x48, 0x00, 0x10, 0x00, 0x08, 0x00, 0x48, 0x00, 0x14, 0x00, 0x08, 0x00, 0x70, 0x00, 0x18, 0x00, 0x08, 0x00, 0x00,
|
|
}};
|
|
static const ms2Dpar_MIDL_TYPE_FORMAT_STRING ms2Dpar__MIDL_TypeFormatString = {0, {
|
|
0x00, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x11, 0x04, 0x02, 0x00, 0x30, 0xa0, 0x00, 0x00, 0x11, 0x00, 0x0e, 0x00, 0x1b, 0x00, 0x01, 0x00, 0x19, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x5b, 0x16, 0x03,
|
|
0x08, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x04, 0x00, 0x04, 0x00, 0x12, 0x00, 0xe6, 0xff, 0x5b, 0x08, 0x08, 0x5b, 0x11, 0x00, 0x78, 0x00, 0x2b, 0x09, 0x09, 0x00, 0xfc, 0xff, 0x01, 0x00, 0x02, 0x00,
|
|
0x04, 0x00, 0x03, 0x30, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x28, 0x00, 0x03, 0x00, 0x00, 0x00, 0x2c, 0x00, 0xff, 0xff, 0x12, 0x00, 0x02, 0x00, 0x1a, 0x03, 0x1c, 0x00,
|
|
0x00, 0x00, 0x0c, 0x00, 0x08, 0x36, 0x36, 0x08, 0x08, 0x08, 0x06, 0x3e, 0x5c, 0x5b, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x08, 0x25, 0x5c, 0x12, 0x00, 0x02, 0x00, 0x15, 0x03, 0x04, 0x00, 0x08, 0x5b,
|
|
0x12, 0x00, 0x02, 0x00, 0x16, 0x07, 0x30, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x0c, 0x00, 0x0c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x10, 0x00, 0x10, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x5b, 0x08,
|
|
0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x06, 0x42, 0x0b, 0x5c, 0x5b, 0x1a, 0x03, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x4c, 0x00, 0x7f, 0xff, 0x5b, 0x11, 0x04, 0x02, 0x00, 0x30, 0xe1,
|
|
0x00, 0x00, 0x11, 0x00, 0x58, 0x03, 0x2b, 0x09, 0x09, 0x00, 0xfc, 0xff, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x06, 0x30, 0x01, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00, 0x00, 0x00, 0x34, 0x00,
|
|
0x03, 0x00, 0x00, 0x00, 0x72, 0x00, 0x04, 0x00, 0x00, 0x00, 0xea, 0x00, 0x06, 0x00, 0x00, 0x00, 0x6e, 0x01, 0x08, 0x00, 0x00, 0x00, 0x20, 0x02, 0xff, 0xff, 0x12, 0x00, 0x02, 0x00, 0x16, 0x03,
|
|
0x04, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x5b, 0x08, 0x5c, 0x5b, 0x12, 0x00, 0x02, 0x00, 0x16, 0x03, 0x18, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x04, 0x00,
|
|
0x04, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x08, 0x00, 0x08, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x0c, 0x00, 0x0c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x10, 0x00, 0x10, 0x00,
|
|
0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x14, 0x00, 0x14, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x5b, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x5b, 0x12, 0x00, 0x0e, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00,
|
|
0x24, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x16, 0x03, 0x2c, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x04, 0x00, 0x04, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x08, 0x00, 0x08, 0x00, 0x12, 0x08, 0x25, 0x5c,
|
|
0x46, 0x5c, 0x0c, 0x00, 0x0c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x10, 0x00, 0x10, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x14, 0x00, 0x14, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c,
|
|
0x18, 0x00, 0x18, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x1c, 0x00, 0x1c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x20, 0x00, 0x20, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x28, 0x00,
|
|
0x28, 0x00, 0x12, 0x00, 0x96, 0xff, 0x5b, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x5c, 0x5b, 0x12, 0x00, 0x0e, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00, 0x2c, 0x00,
|
|
0x01, 0x00, 0x05, 0x5b, 0x16, 0x03, 0x34, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x04, 0x00, 0x04, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x08, 0x00, 0x08, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c,
|
|
0x0c, 0x00, 0x0c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x10, 0x00, 0x10, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x14, 0x00, 0x14, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x18, 0x00,
|
|
0x18, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x1c, 0x00, 0x1c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x20, 0x00, 0x20, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x28, 0x00, 0x28, 0x00,
|
|
0x12, 0x00, 0x18, 0xff, 0x46, 0x5c, 0x30, 0x00, 0x30, 0x00, 0x12, 0x00, 0x8c, 0xff, 0x5b, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x5c, 0x5b, 0x12, 0x00,
|
|
0x0a, 0x00, 0x15, 0x03, 0x08, 0x00, 0x08, 0x08, 0x5c, 0x5b, 0x16, 0x07, 0x58, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x04, 0x00, 0x04, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x08, 0x00, 0x08, 0x00,
|
|
0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x0c, 0x00, 0x0c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x10, 0x00, 0x10, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x14, 0x00, 0x14, 0x00, 0x12, 0x08,
|
|
0x25, 0x5c, 0x46, 0x5c, 0x18, 0x00, 0x18, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x1c, 0x00, 0x1c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x20, 0x00, 0x20, 0x00, 0x12, 0x08, 0x25, 0x5c,
|
|
0x46, 0x5c, 0x28, 0x00, 0x28, 0x00, 0x12, 0x00, 0x92, 0xfe, 0x46, 0x5c, 0x30, 0x00, 0x30, 0x00, 0x12, 0x00, 0x06, 0xff, 0x46, 0x5c, 0x48, 0x00, 0x48, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c,
|
|
0x4c, 0x00, 0x4c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x50, 0x00, 0x50, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x54, 0x00, 0x54, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x5b, 0x08, 0x08, 0x08,
|
|
0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x4c, 0x00, 0x56, 0xff, 0x40, 0x0b, 0x08, 0x08, 0x08, 0x08, 0x5c, 0x5b, 0x12, 0x00, 0x1a, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00,
|
|
0x60, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x1b, 0x01, 0x02, 0x00, 0x19, 0x00, 0x70, 0x00, 0x01, 0x00, 0x05, 0x5b, 0x16, 0x07, 0x88, 0x00, 0x4b, 0x5c, 0x46, 0x5c, 0x04, 0x00, 0x04, 0x00, 0x12, 0x08,
|
|
0x25, 0x5c, 0x46, 0x5c, 0x08, 0x00, 0x08, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x0c, 0x00, 0x0c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x10, 0x00, 0x10, 0x00, 0x12, 0x08, 0x25, 0x5c,
|
|
0x46, 0x5c, 0x14, 0x00, 0x14, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x18, 0x00, 0x18, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x1c, 0x00, 0x1c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c,
|
|
0x20, 0x00, 0x20, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x28, 0x00, 0x28, 0x00, 0x12, 0x00, 0xca, 0xfd, 0x46, 0x5c, 0x30, 0x00, 0x30, 0x00, 0x12, 0x00, 0x3e, 0xfe, 0x46, 0x5c, 0x48, 0x00,
|
|
0x48, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x4c, 0x00, 0x4c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x50, 0x00, 0x50, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x54, 0x00, 0x54, 0x00,
|
|
0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x58, 0x00, 0x58, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x5c, 0x00, 0x5c, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x64, 0x00, 0x64, 0x00, 0x12, 0x00,
|
|
0x3a, 0xff, 0x46, 0x5c, 0x68, 0x00, 0x68, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x46, 0x5c, 0x74, 0x00, 0x74, 0x00, 0x12, 0x00, 0x32, 0xff, 0x5b, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
|
|
0x08, 0x08, 0x08, 0x08, 0x4c, 0x00, 0x5c, 0xfe, 0x40, 0x0b, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x4c, 0x00, 0x4a, 0xfe, 0x0b, 0x5b, 0x1a, 0x03, 0x08, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x08, 0x4c, 0x00, 0x9f, 0xfc, 0x5b, 0x12, 0x00, 0x02, 0x00, 0x1b, 0x00, 0x01, 0x00, 0x29, 0x00, 0x14, 0x00, 0x00, 0x00, 0x02, 0x5b, 0x11, 0x0c, 0x08, 0x5c, 0x11, 0x08,
|
|
0x25, 0x5c, 0x00,
|
|
}};
|
|
#endif |