MI_InstanceField
TOC
Collapse the table of content
Expand the table of content

MI_InstanceField structure

Represents a property inside an MI_Instance structure.

Syntax


typedef struct _MI_InstanceField {
  MI_Instance *value;
  MI_Boolean  exists;
  MI_Uint8    flags;
} MI_InstanceField;

Members

value

A field of type MI_Instance.

exists

Indicates whether the field is non-null. This member can be set to MI_TRUE or MI_FALSE.

flags

Bit flags that indicate the memory management policy.

MI_FLAG_NOT_MODIFIED ((1 << 25))

Indicates that the property is not modified.

MI_FLAG_NULL ((1 << 29))

The element value is NULL.

MI_FLAG_BORROW ((1 << 30))

Used while adding and setting properties on an MI_Instance to indicate that the instance will not copy the value. The value must stay valid until the instance is deleted.

MI_FLAG_ADOPT ((1 << 31))

Used while adding and setting properties on an MI_Instance to indicate that the instance will adopt the pointer and will be responsible for deleting it.

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:
© 2016 Microsoft