MI_Application_NewDeserializer function (mi.h)

Creates a deserializer object that can then be used to convert a serialized object back into a class or instance.

Syntax

MI_INLINE MI_Result MI_Application_NewDeserializer(
  [in, out] MI_Application  *application,
            MI_Uint32       flags,
  [in]      MI_Char         *format,
  [out]     MI_Deserializer *deserializer
);

Parameters

[in, out] application

Handle returned from MI_Application_Initialize.

flags

Must be 0.

[in] format

A string that indicates which serializer to use. Must be L"MI_XML".

[out] deserializer

The populated deserializer object.

Return value

This function returns MI_INLINE MI_Result.

Remarks

Serializers are used to persist MI_Instance and MI_Class objects to BYTE arrays. A deserializer is then used to re-create the object from its stored form.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
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