MI_SerializerFT structure

A support structure used in the MI_ClientFT_V1 structure. Use the functions with the name prefix "MI_Serializer_" to manipulate these structures.

Syntax


typedef struct _MI_SerializerFT {
  MI_Result (MI_CALL *Close)(_Inout_ MI_Serializer *serializer);
  MI_Result (MI_CALL *SerializeClass)(
      _Inout_ MI_Serializer *serializer, 
      MI_Uint32 flags, 
      _In_ const MI_Class *classObject, 
      _Out_ MI_Uint8 *clientBuffer, 
      MI_Uint32 clientBufferLength, 
      _Inout_ MI_Uint32 *clientBufferNeeded);
  MI_Result (MI_CALL *SerializeInstance)(
      _Inout_ MI_Serializer *serializer, 
      MI_Uint32 flags, 
      _In_ const MI_Instance *instanceObject, 
      _Out_ MI_Uint8 *clientBuffer, 
      MI_Uint32 clientBufferLength, 
      _Inout_ MI_Uint32 *clientBufferNeeded);
} MI_SerializerFT;

Members

Close

Closes a serializer object and frees any internal memory associated with it. See MI_Serializer_Close.

SerializeClass

Serializes an MI_Class into a buffer in the format specified when it was created. See MI_Serializer_SerializeClass.

SerializeInstance

Serializes an MI_Instance into a buffer in the format specified when the serializer was created. See MI_Serializer_SerializeInstance.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

 

 

Show: