MI_DeserializerFT structure (mi.h)
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_Deserializer *deserializer) * Close;
MI_Result(ializer *deserializer,MI_Uint32 flags,MI_Uint8 *serializedBuffer,MI_Uint32 serializedBufferLength,MI_Class *parentClass, const MI_Char *serverName, const MI_Char *namespaceName,MI_Deserializer_ClassObjectNeeded classObjectNeeded, void *classObjectNeededContext,MI_Uint32 *serializedBufferRead,MI_Class **classObject,MI_Instance **cimErrorDetails) * )(MI_DeserDeserializeClass;
MI_Result(Deserializer *deserializer,MI_Uint8 *serializedBuffer,MI_Uint32 serializedBufferLength,MI_Char *className,MI_Uint32 *classNameLength,MI_Instance **cimErrorDetails) * )(MI_Class_GetClassName;
MI_Result(Deserializer *deserializer,MI_Uint8 *serializedBuffer,MI_Uint32 serializedBufferLength,MI_Char *parentClassName,MI_Uint32 *parentClassNameLength,MI_Instance **cimErrorDetails) * )(MI_Class_GetParentClassName;
MI_Result(rializer *deserializer,MI_Uint32 flags,MI_Uint8 *serializedBuffer,MI_Uint32 serializedBufferLength,MI_Class **classObjects,MI_Uint32 numberClassObjects,MI_Deserializer_ClassObjectNeeded classObjectNeeded, void *classObjectNeededContext,MI_Uint32 *serializedBufferRead,MI_Instance **instanceObject,MI_Instance **cimErrorDetails) * )(MI_DeseDeserializeInstance;
MI_Result(Deserializer *deserializer,MI_Uint8 *serializedBuffer,MI_Uint32 serializedBufferLength,MI_Char *className,MI_Uint32 *classNameLength,MI_Instance **cimErrorDetails) * )(MI_Instance_GetClassName;
} 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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Header | mi.h |
Redistributable | Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |