4.2 Server Create Request Example

The server sends a request to create an instance of the port. The following sequence captures such a request.

 RDPDR, 56, Server to client
 00000000 72 44 52 49 01 00 00 00 00 00 00 00 01 00 00 00                       
 00000010 00 00 00 00 00 00 00 00 80 00 10 00 00 00 00 00                       
 00000020 00 00 00 00 00 00 00 00 07 00 00 00 01 00 00 00                       
 00000030 60 00 00 00 00 00 00 00
  
 72 44                   -> RDPDR_CTYP_CORE              = 0x4472
 52 49                   -> PAKID_CORE_DEVICE_IOREQUEST  = 0x4952
 01 00 00 00             -> DeviceId                     = 0x00000001
 00 00 00 00             -> FileId                       = 0x00000000
 01 00 00 00             -> CompletionId                 = 0x00000001
 00 00 00 00             -> MajorFunction(IRP_MJ_CREATE) = 0x00000000
 00 00 00 00             -> MinorFunction                = 0x00000000
 80 00 10 00             -> DesiredAccess                = 0x00100080
 00 00 00 00 00 00 00 00 -> AllocationSize(64 bits)      = 0x0    
 00 00 00 00             -> FileAttributes               = 0x00000000
 07 00 00 00             -> SharedAccess                 = 0x00000007
 01 00 00 00             -> CreateDisposition            = 0x00000001
 60 00 00 00             -> CreateOptions                = 0x00000060
 00 00 00 00             -> PathLength                   = 0x0000000