22#define MAX_BASIC_INFO_SIZE 512
37(
WINAPI * QueryInformationPort)(
91 printf(
"Basic Information:\n");
96 sizeof (LPC_PORT_BASIC_INFORMATION),
101 PLPC_PORT_BASIC_INFORMATION
i;
105 printf(
"\tUnknown01 = 0x%08X\n",
i->Unknown0 );
106 printf(
"\tUnknown02 = 0x%08X\n",
i->Unknown1 );
107 printf(
"\tUnknown03 = 0x%08X\n",
i->Unknown2 );
108 printf(
"\tUnknown04 = 0x%08X\n",
i->Unknown3 );
109 printf(
"\tUnknown05 = 0x%08X\n",
i->Unknown4 );
110 printf(
"\tUnknown06 = 0x%08X\n",
i->Unknown5 );
111 printf(
"\tUnknown07 = 0x%08X\n",
i->Unknown6 );
112 printf(
"\tUnknown08 = 0x%08X\n",
i->Unknown7 );
113 printf(
"\tUnknown09 = 0x%08X\n",
i->Unknown8 );
114 printf(
"\tUnknown10 = 0x%08X\n",
i->Unknown9 );
115 printf(
"\tUnknown11 = 0x%08X\n",
i->Unknown10 );
116 printf(
"\tUnknown12 = 0x%08X\n",
i->Unknown11 );
117 printf(
"\tUnknown13 = 0x%08X\n",
i->Unknown12 );
118 printf(
"\tUnknown14 = 0x%08X\n",
i->Unknown13 );
124 printf(
"Type Information:\n");
140 (
i->Name.Length ?
i->Name.Buffer :
L"")
150 "\tTotal Handles: %d\n",
154 "\tReference Count: %d\n",
162 printf(
"Name Information:\n");
177 (
i->Name.Length ?
i->Name.Buffer :
L"")
184 printf(
"Data Information:\n");
198 "\tInherit Handle: %s\n",
199 (
i->bInheritHandle ?
"TRUE" :
"FALSE")
202 "\tProtect from Close: %s\n",
203 (
i->bProtectFromClose ?
"TRUE" :
"FALSE")
211 printf(
"Port Information:\n");
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
IN CINT ObjectInformationClass
IN CINT OUT PVOID IN ULONG OUT PULONG ResultLength
IN CINT OUT PVOID ObjectInformation
IN CINT OUT PVOID IN ULONG PortInformationLength
IN CINT OUT PVOID PortInformation
IN CINT OUT PVOID IN ULONG Length
VOID DumpInfo(LPCWSTR Name, NTSTATUS Status, LPCWSTR Comment, HANDLE Port)
IN CINT PortInformationClass
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
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength