The
Win32_DeviceMemoryAddress WMI class represents a device memory address on a computer system running Windows.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
class Win32_DeviceMemoryAddress : Win32_SystemMemoryResource
{
string Caption;
string CreationClassName;
string CSCreationClassName;
string CSName;
string Description;
uint64 EndingAddress;
datetime InstallDate;
string MemoryType;
string Name;
uint64 StartingAddress;
string Status;
};
Methods
The Win32_DeviceMemoryAddress class does not define any methods.
Properties
The Win32_DeviceMemoryAddress class defines the following properties.
- Caption
-
- Data type: string
- Access type: Read-only
Short description of the object—a one-line string. This property is inherited from CIM_ManagedSystemElement.
- CreationClassName
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key, MaxLen(256)
Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be identified uniquely. This property is inherited from CIM_MemoryMappedIO.
- CSCreationClassName
-
- Data type: string
- Access type: Read-only
Name of the scoping computer system creation class. This property is inherited from CIM_MemoryMappedIO.
- CSName
-
- Data type: string
- Access type: Read-only
Name of the scoping computer system. This property is inherited from CIM_MemoryMappedIO.
- Description
-
- Data type: string
- Access type: Read-only
Description of the object. This property is inherited from CIM_ManagedSystemElement.
- EndingAddress
-
- Data type: uint64
- Access type: Read-only
Ending address of memory-mapped I/O. This property is inherited from CIM_MemoryMappedIO.
For more information about using uint64 values in scripts, see Scripting in WMI.
- InstallDate
-
- Data type: datetime
- Access type: Read-only
Date and time the object was installed. This property does not require a value to indicate that the object is installed. This property is inherited from CIM_ManagedSystemElement.
- MemoryType
-
- Data type: string
- Access type: Read-only
Characteristics of the memory resource on the computer system running Windows. Values are the following.
| Value | Meaning |
- ReadWrite
| The memory can be both read and written.
|
- ReadOnly
| The memory is read-only.
|
- WriteOnly
| The memory can only be written.
|
- Prefetchable
| A block of memory is copied from main memory into a small buffer managed by the memory chipset. Repeated read operations from the same part of memory are faster with prefetchable memory.
|
- Name
-
- Data type: string
- Access type: Read-only
Label by which the object is known. When subclassed, the property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.
- StartingAddress
-
- Data type: uint64
- Access type: Read-only
- Qualifiers: Key
Starting address of memory-mapped I/O. The hardware resource identifier property should be set to this value to construct the mapped I/O resource key. This property is inherited from CIM_MemoryMappedIO.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Status
-
- Data type: string
- Access type: Read-only
Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.
The values are:
- "OK"
- "Error"
- "Degraded"
- "Unknown"
- "Pred Fail"
- "Starting"
- "Stopping"
- "Service"
- "Stressed"
- "NonRecover"
- "No Contact"
- "Lost Comm"
Remarks
The
Win32_DeviceMemoryAddress class is derived from
Win32_SystemMemoryResource.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| MOF | Cimwin32.mof |
| DLL | Cimwin32.dll |
| Namespace | \root\cimv2 |
See Also
- Computer System Hardware Classes
Send comments about this topic to Microsoft
Build date: 11/3/2009