21 TRACE(
"AddFormA(%p, %lu, %p)\n", hPrinter,
Level, pForm);
25 ERR(
"Level = %d, unsupported!\n",
Level);
93 TRACE(
"AddFormW(%p, %lu, %p)\n", hPrinter,
Level, pForm);
104 ERR(
"Level = %d, unsupported!\n",
Level);
120 ERR(
"_RpcAddForm failed with exception code %lu!\n", dwErrorCode);
134 TRACE(
"DeleteFormA(%p, %s)\n", hPrinter, pFormName);
151 TRACE(
"DeleteFormW(%p, %S)\n", hPrinter, pFormName);
168 ERR(
"_RpcDeleteForm failed with exception code %lu!\n", dwErrorCode);
183 TRACE(
"EnumFormsA(%p, %lu, %p, %lu, %p, %p)\n", hPrinter,
Level, pForm, cbBuf,
pcbNeeded, pcReturned);
187 for (
i = 0;
i < *pcReturned;
i++ )
233 TRACE(
"EnumFormsW(%p, %lu, %p, %lu, %p, %p)\n", hPrinter,
Level, pForm, cbBuf,
pcbNeeded, pcReturned);
244 ERR(
"Level = %d, unsupported!\n",
Level);
257 ERR(
"_RpcEnumForms failed with exception code %lu!\n", dwErrorCode);
281 TRACE(
"GetFormA(%p, %s, %lu, %p, %lu, %p)\n", hPrinter, pFormName,
Level, pForm, cbBuf,
pcbNeeded);
335 TRACE(
"GetFormW(%p, %S, %lu, %p, %lu, %p)\n", hPrinter, pFormName,
Level, pForm, cbBuf,
pcbNeeded);
347 ERR(
"Level = %d, unsupported!\n",
Level);
363 ERR(
"_RpcGetForm failed with exception code %lu!\n", dwErrorCode);
390 TRACE(
"SetFormA(%p, %s, %lu, %p)\n", hPrinter, pFormName,
Level, pForm);
394 ERR(
"Level = %d, unsupported!\n",
Level);
470 TRACE(
"SetFormW(%p, %S, %lu, %p)\n", hPrinter, pFormName,
Level, pForm);
475 ERR(
"Level = %d, unsupported!\n",
Level);
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
#define ERROR_INVALID_HANDLE
#define MultiByteToWideChar
static const WCHAR Cleanup[]
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
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)
wstring AsciiToUnicode(const char *AsciiString)
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
#define RpcExceptionCode()
struct _SPOOLER_HANDLE * PSPOOLER_HANDLE
DWORD UnicodeToAnsiInPlace(PWSTR pwszField)
_In_ DWORD _Out_ PDWORD pcbNeeded
#define ERROR_INVALID_LEVEL
struct _FORM_INFO_2W * PFORM_INFO_2W
struct _FORM_INFO_1W * PFORM_INFO_1W
struct _FORM_INFO_2A * PFORM_INFO_2A
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level