Compartir a través de


2.2.2.1 RPC_STRING, PRPC_STRING

The RPC_STRING structure holds a counted string encoded in the OEM code page.

 typedef struct _RPC_STRING {
   unsigned short Length;
   unsigned short MaximumLength;
   [size_is(MaximumLength), length_is(Length)] 
     char* Buffer;
 } RPC_STRING,
  *PRPC_STRING;

Length: The size, in bytes, not including a terminating null character, of the string contained in Buffer.

MaximumLength: The size, in bytes, of the Buffer member.

Buffer: A buffer containing a string encoded in the OEM code page. The string is counted (by the Length member), and therefore is not null-terminated.