Windows Dev Center

Expand Minimize

MI_DeserializerFT structure

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

Syntax


typedef struct _MI_DeserializerFT {
  MI_Result (MI_CALL *Close)(_Inout_ MI_Deserializer *deserializer);
  MI_Result (MI_CALL *DeserializeClass)(
      _Inout_ MI_Deserializer *deserializer, 
      MI_Uint32 flags, 
      _In_ MI_Uint8 *serializedBuffer, 
      MI_Uint32 serializedBufferLength, 
      _In_opt_ MI_Class *parentClass, 
      _Out_opt_ MI_Uint32 *serializedBufferRead, 
      _Outptr_ MI_Class **classObject, 
      _Out_opt_ MI_Instance **cimErrorDetails);
  MI_Result (MI_CALL *Class_GetClassName)(
      _Inout_ MI_Deserializer *deserializer, 
      _In_ MI_Uint8 *serializedBuffer, 
      MI_Uint32 serializedBufferLength, 
      _Out_opt_ MI_Char *className, 
      _Inout_ MI_Uint32 *classNameLength, 
      _Out_opt_ MI_Instance **cimErrorDetails);
  MI_Result (MI_CALL *Class_GetParentClassName)(
      _Inout_ MI_Deserializer *deserializer, 
      _In_ MI_Uint8 *serializedBuffer, 
      MI_Uint32 serializedBufferLength, 
      _Out_opt_ MI_Char *parentClassName, 
      _Inout_ MI_Uint32 *parentClassNameLength, 
      _Out_opt_ MI_Instance **cimErrorDetails);
  MI_Result (MI_CALL *DeserializeInstance)(
      _Inout_ MI_Deserializer *deserializer, 
      MI_Uint32 flags, 
      _In_ MI_Uint8 serializedBuffer, 
      MI_Uint32 serializedBufferLength, 
      _In_opt_ MI_Class **classObjects, 
      MI_Uint32 numberClassObjects, 
      _In_opt_  , 
      _In_opt_ void *classObjectNeededContext, 
      _Out_opt_ MI_Uint32 *serializedBufferRead, 
      _Outptr_ MI_Instance **instanceObject, 
      _Out_opt_ MI_Instance **cimErrorDetails);
  MI_Result (MI_CALL *Instance_GetClassName)(
      _Inout_ MI_Deserializer *deserializer, 
      _In_ MI_Uint8 serializedBuffer, 
      MI_Uint32 serializedBufferLength, 
      _Out_opt_ MI_Char *className, 
      _Inout_ MI_Uint32 *classNameLength, 
      _Out_opt_ MI_Instance **cimErrorDetails);
} MI_DeserializerFT;

Members

Close

Deletes the deserializer object and its associated memory. See MI_Deserializer_Close.

DeserializeClass

Deserializes a serialized buffer into an MI_Class object. See MI_Deserializer_DeserializeClass.

Class_GetClassName

Gets the class name from a serialized class buffer. See MI_Deserializer_Class_GetClassName.

Class_GetParentClassName

Gets the parent class name from a serialized class buffer. See MI_Deserializer_Class_GetParentClassName.

DeserializeInstance

Deserializes a serialized buffer into a MI_Instance object. See MI_Deserializer_DeserializeInstance.

Instance_GetClassName

Gets the class name of the specified instance. See MI_Instance_GetClassName.

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

See also

MI_Deserializer_ClassObjectNeeded

 

 

Show:
© 2015 Microsoft