Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a serializer object that can then be used to serialize instances and classes into various different formats.
Syntax
MI_INLINE MI_Result MI_Application_NewSerializer(
  [in, out] MI_Application *application,
            MI_Uint32      flags,
  [in]      MI_Char        *format,
  [out]     MI_Serializer  *serializer
);
Parameters
[in, out] application
A pointer to a handle returned from the MI_Application_Initialize function.
flags
This parameter must be 0.
[in] format
A string that contains which serializer to use. This parameter must be L"MI_XML".
[out] serializer
The returned serializer object.
Return value
This function returns MI_INLINE MI_Result.
Remarks
Serializers are used to persist MI_Instance and MI_Class objects. 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 |