MI_ConstUint16Field structure (mi.h)

Represents a property inside an MI_Instance structure.

Syntax

typedef struct _MI_ConstUint16Field {
  MI_Uint16  value;
  MI_Boolean exists;
  MI_Uint8   flags;
} MI_ConstUint16Field;

Members

value

A field of type MI_Uint16.

exists

Indicates whether the field is non-null. Can be set to MI_TRUE or MI_FALSE.

flags

Bit flags indicating memory management policy.

MI_FLAG_NOT_MODIFIED ((1 << 25))

Indicates that the property is not modified.

MI_FLAG_NULL ((1 << 29))

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

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