MI_PropertySetFT structure

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

Syntax


typedef struct _MI_PropertySetFT {
  MI_Result (MI_CALL *GetElementCount)(
      _In_ const MI_PropertySet *self, 
      _Out_ MI_Uint32 *count);
  MI_Result (MI_CALL *ContainsElement)(
      _In_ const MI_PropertySet *self, 
      _In_ const MI_Char *name, 
      _Out_ MI_Boolean *flag);
  MI_Result (MI_CALL *AddElement)(
      _Inout_  MI_PropertySet *self, 
      _In_ const MI_Char *name);
  MI_Result (MI_CALL *GetElementAt)(
      _In_ const MI_PropertySet *self, 
      MI_Uint32 index, 
      _Out_ const MI_Char **name);
  MI_Result (MI_CALL *Clear)(_Inout_ MI_PropertySet *self);
  MI_Result (MI_CALL *Destruct)(_Inout_ MI_PropertySet *self);
  MI_Result (MI_CALL *Delete)(_Inout_ MI_PropertySet *self);
  MI_Result (MI_CALL *Clone)(
      _In_ const MI_PropertySet *self, 
      _Out_ MI_PropertySet **newPropertySet);
} MI_PropertySetFT;

Members

GetElementCount

Gets the number of elements in the specified property set. See MI_PropertySet_GetElementCount.

ContainsElement

Determines whether the property list contains the specified property. See MI_PropertySet_ContainsElement.

AddElement

Adds a name to the property list. See MI_PropertySet_AddElement.

GetElementAt

Gets the element of a property set at the specified index. See MI_PropertySet_GetElementAt.

Clear

Removes all names from the property list. See MI_PropertySet_Clear.

Destruct

Deletes the specified property list that was constructed on the stack. See MI_PropertySet_Destruct.

Delete

Deletes the specified property list that was constructed on the heap. See MI_PropertySet_Delete.

Clone

Creates a copy of the specified property set on the heap. See MI_PropertySet_Clone.

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

 

 

Show: