2.2.13.1 IWbemContextBuffer Marshaling Structure

The IWbemContextBuffer data structure defines the wire format for buffer data that is used by this protocol. Its structure has the following encoding format (defined in ABNF notation as specified in [RFC4234]).

 IWbemContextBuffer = NumGuids *GUID NumProps *IWbemContextProperty
  • The stream MUST start with a 32-bit integer (NumGUIDs, in the following list). The following ABNF represents the number of GUIDs that are present in the next GuidArray. GUID is defined in [MS-DTYP] section 2.3.4.

     NumGuids = UINT32
    
  • NumGuids MUST be set to 1, MUST be followed by an array of standard GUIDs, and MUST contain NumGuids elements. Since the NumGuids value is set to 1, only one GUID needs to be present.

  • The stream MUST contain a 32-bit integer that represents the property count.

     NumProps = UINT32
    
  • The property list MUST immediately follow the property count and MUST be marshaled as a continuous list without padding between properties, as specified in IWbemContextProperty (section 2.2.13.2). The number of IWbemContextProperty properties MUST be equal to NumProps.