20 ERR(
"Level = %d, unsupported!\n",
Level);
62 ERR(
"_RpcAddJob failed with exception code %lu!\n", dwErrorCode);
89 TRACE(
"EnumJobsA(%p, %lu, %lu, %lu, %p, %lu, %p, %p)\n", hPrinter, FirstJob, NoJobs,
Level, pJob, cbBuf,
pcbNeeded, pcReturned);
100 for (
i = 0;
i < *pcReturned;
i++ )
138 for (
i = 0;
i < *pcReturned;
i++ )
185 if ( pji2w[
i].pDevMode )
205 TRACE(
"EnumJobsW(%p, %lu, %lu, %lu, %p, %lu, %p, %p)\n", hPrinter, FirstJob, NoJobs,
Level, pJob, cbBuf,
pcbNeeded, pcReturned);
221 ERR(
"_RpcEnumJobs failed with exception code %lu!\n", dwErrorCode);
248 FIXME(
"GetJobA(%p, %lu, %lu, %p, %lu, %p)\n", hPrinter, JobId,
Level, pJob, cbBuf,
pcbNeeded);
354 FIXME(
"GetJobW(%p, %lu, %lu, %p, %lu, %p)\n", hPrinter, JobId,
Level, pJob, cbBuf,
pcbNeeded);
370 ERR(
"_RpcGetJob failed with exception code %lu!\n", dwErrorCode);
392 TRACE(
"ScheduleJob(%p, %lu)\n", hPrinter, dwJobID);
408 ERR(
"_RpcScheduleJob failed with exception code %lu!\n", dwErrorCode);
427 TRACE(
"SetJobA(%p, %lu, %lu, %p, %lu)\n", hPrinter, JobId,
Level, pJobInfo,
Command);
482 ERR(
"Level = %d, unsupported!\n",
Level);
526 TRACE(
"SetJobW(%p, %lu, %lu, %p, %lu)\n", hPrinter, JobId,
Level, pJobInfo,
Command);
546 ERR(
"_RpcSetJob failed with exception code %lu!\n", dwErrorCode);
BOOL WINAPI EnumJobsW(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, PBYTE pJob, DWORD cbBuf, PDWORD pcbNeeded, PDWORD pcReturned)
BOOL WINAPI GetJobW(HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJob, DWORD cbBuf, PDWORD pcbNeeded)
BOOL WINAPI ScheduleJob(HANDLE hPrinter, DWORD dwJobID)
BOOL WINAPI SetJobW(HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJobInfo, DWORD Command)
BOOL WINAPI AddJobW(HANDLE hPrinter, DWORD Level, PBYTE pData, DWORD cbBuf, PDWORD pcbNeeded)
DWORD _RpcSetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, WINSPOOL_JOB_CONTAINER *pJobContainer, DWORD Command)
DWORD _RpcAddJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pAddJob, DWORD cbBuf, DWORD *pcbNeeded)
DWORD _RpcGetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded)
DWORD _RpcEnumJobs(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
DWORD _RpcScheduleJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId)
BOOL WINAPI GetJobA(HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJob, DWORD cbBuf, PDWORD pcbNeeded)
BOOL WINAPI EnumJobsA(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, PBYTE pJob, DWORD cbBuf, PDWORD pcbNeeded, PDWORD pcReturned)
BOOL WINAPI AddJobA(HANDLE hPrinter, DWORD Level, PBYTE pData, DWORD cbBuf, PDWORD pcbNeeded)
BOOL WINAPI SetJobA(HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJobInfo, DWORD Command)
void RosConvertUnicodeDevModeToAnsiDevmode(PDEVMODEW pDevModeInput, PDEVMODEA pDevModeOutput)
#define HeapFree(x, y, z)
#define ERROR_INVALID_HANDLE
static const WCHAR Cleanup[]
__in WDFDMATRANSACTION __out NTSTATUS * pStatus
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define EXCEPTION_EXECUTE_HANDLER
static const MARSHALLING AddJobInfo1Marshalling
static const MARSHALLING * pJobInfoMarshalling[]
static VOID UpdateTrayIcon(HWND hwnd, LPTSTR szKLID, LPTSTR szName)
BOOL WINAPI MarshallUpStructuresArray(DWORD cbSize, PVOID pStructuresArray, DWORD cElements, const MARSHALLING_INFO *pInfo, DWORD cbStructureSize, BOOL bSomeBoolean)
BOOL WINAPI MarshallUpStructure(DWORD cbSize, PVOID pStructure, const MARSHALLING_INFO *pInfo, DWORD cbStructureSize, BOOL bSomeBoolean)
#define memcpy(s1, s2, n)
wstring AsciiToUnicode(const char *AsciiString)
#define RpcExceptionCode()
PSECURITY_DESCRIPTOR pSecurityDescriptor
PSECURITY_DESCRIPTOR pSecurityDescriptor
union _WINSPOOL_JOB_CONTAINER::@3437 JobInfo
WINSPOOL_JOB_INFO_1 * Level1
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
struct _SPOOLER_HANDLE * PSPOOLER_HANDLE
DWORD UnicodeToAnsiInPlace(PWSTR pwszField)
_In_ DWORD _Out_ PDWORD pcbNeeded
#define ERROR_INVALID_LEVEL
DEVMODEW *WINAPI GdiConvertToDevmodeW(const DEVMODEA *)
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level