MI_Deserializer_ClassObjectNeeded callback function (mi.h)

Used to provide requested class object during deserialization.

Syntax

MI_Deserializer_ClassObjectNeeded MiDeserializerClassobjectneeded;

MI_Result MiDeserializerClassobjectneeded(
  [in, optional] void *context,
  [in, optional] const MI_Char *serverName,
  [in, optional] const MI_Char *namespaceName,
  [in, optional] const MI_Char *className,
  [out]          MI_Class **requestedClassObject
)
{...}

Parameters

[in, optional] context

A pointer to the context.

[in, optional] serverName

The name of the server.

[in, optional] namespaceName

The namespace of the object.

[in, optional] className

The class of the object.

[out] requestedClassObject

A MI_Class representing the requested class object.

Return value

Returns a MI_Result indicating the status of the operation.

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

See also

MI_DeserializerFT

MI_Deserializer_DeserializeClass

MI_Deserializer_DeserializeInstance