Go to the source code of this file.
◆ PdoCleanup()
Definition at line 67 of file pdo.c.
69{
71
72 Irp->IoStatus.Information = 0;
76}
#define IoCompleteRequest
Referenced by DispatchCleanup().
◆ PdoClose()
Definition at line 47 of file pdo.c.
49{
51
53
56
57 Irp->IoStatus.Information = 0;
60
62}
struct _PDO_DEVICE_EXTENSION * PPDO_DEVICE_EXTENSION
_In_ PDEVICE_OBJECT DeviceObject
Referenced by DispatchClose().
◆ PdoCreate()
Definition at line 14 of file pdo.c.
16{
20
22
25
27 {
30 goto done;
31 }
32
33 DPRINT(
"Open LPT%lu: successful\n", DeviceExtension->
LptPort);
35
36done:
38 Irp->IoStatus.Information = 0;
40
42}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define FILE_DIRECTORY_FILE
#define STATUS_NOT_A_DIRECTORY
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
Referenced by DispatchCreate().
◆ PdoPnp()
◆ PdoPower()
Definition at line 175 of file pdo.c.
177{
180
182
184
186 {
190 break;
191 }
192
197}
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
#define IRP_MN_QUERY_POWER
Referenced by DispatchPower().
◆ PdoRead()
◆ PdoWrite()
Definition at line 95 of file pdo.c.
97{
105
107
110
112
116
118 {
119 ulCount = 0;
120
121 do
122 {
125 ulCount++;
126 }
128
129 if (ulCount == 500000)
130 {
132
133 Irp->IoStatus.Information = 0;
136
138 }
139
140
142
144
146
148
150 }
151
152 Irp->IoStatus.Information = 0;
156}
PVOID GetUserBuffer(IN PIRP Irp)
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
_Outptr_ PUSB_DEVICE_HANDLE _In_ PUSB_DEVICE_HANDLE _In_ USHORT PortStatus
#define KeStallExecutionProcessor(MicroSeconds)
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
union _IO_STACK_LOCATION::@1581 Parameters
struct _IO_STACK_LOCATION::@3980::@3985 Write
PDEVICE_OBJECT AttachedFdo
Referenced by DispatchWrite().