Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a property inside an MI_Instance structure.
Syntax
typedef struct _MI_ConstReferenceField {
MI_CONST MI_Instance *value;
MI_Boolean exists;
MI_Uint8 flags;
} MI_ConstReferenceField;
Members
value
A pointer to an MI_Instance structure.
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 structure 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 structure 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 |