This topic has not yet been rated - Rate this topic

CIM_PhysicalMemory class

Applies to: desktop apps only

The CIM_PhysicalMemory class represents low-level memory devices, such as SIMMS, DIMMs, raw memory chips, and so on.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class CIM_PhysicalMemory : CIM_Chip
{
  string   BankLabel;
  uint64   Capacity;
  string   Caption;
  string   CreationClassName;
  uint16   DataWidth;
  string   Description;
  uint16   FormFactor;
  boolean  HotSwappable;
  datetime InstallDate;
  uint32   InterleavePosition;
  string   Manufacturer;
  uint16   MemoryType;
  string   Model;
  string   Name;
  string   OtherIdentifyingInfo;
  string   PartNumber;
  uint32   PositionInRow;
  boolean  PoweredOn;
  boolean  Removable;
  boolean  Replaceable;
  string   SerialNumber;
  string   SKU;
  uint32   Speed;
  string   Status;
  string   Tag;
  uint16   TotalWidth;
  string   Version;
};

Members

The CIM_PhysicalMemory class has these types of members:

Properties

The CIM_PhysicalMemory class has these properties.

BankLabel
Data type: string
Access type: Read-only

Labeled bank in which the memory is located. For example, "Bank 0" or "Bank A".

Capacity
Data type: uint64
Access type: Read-only

Total capacity of the physical memory, in bytes.

For more information about using uint64 values in scripts, see Scripting in WMI.

Caption
Data type: string
Access type: Read-only

Short textual description of the object. This property is inherited from CIM_ManagedSystemElement.

CreationClassName
Data type: string
Access type: Read-only

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified. This property is inherited from CIM_PhysicalElement.

DataWidth
Data type: uint16
Access type: Read-only

Data width of the physical memory, in bits. A data width of 0 (zero) , and a total width of 8, indicates that the memory is solely used to provide error correction bits.

Description
Data type: string
Access type: Read-only

Textual description of the object. This property is inherited from CIM_ManagedSystemElement.

FormFactor
Data type: uint16
Access type: Read-only

Implementation form factor for the chip. For example, values such as SIMM, TSOP, or PGA can be specified. This property is inherited from CIM_Chip.

ValueMeaning
0

Unknown

1

Other

2

SIP

3

DIP

4

ZIP

5

SOJ

6

Proprietary

7

SIMM

8

DIMM

9

TSOP

10

PGA

11

RIMM

12

SODIMM

13

SRIMM

14

SMD

15

SSMP

16

QFP

17

TQFP

18

SOIC

19

LCC

20

PLCC

21

BGA

22

FPBGA

23

LGA

 

HotSwappable
Data type: boolean
Access type: Read-only

If TRUE, the package can be hot-swapped. A physical package can be hot-swapped if the element can be replaced by a physically different (but equivalent) one while the containing package is turned on. For example, a fan component may be designed to be hot-swapped. All components that can be hot-swapped are inherently removable and replaceable. This property is inherited from CIM_PhysicalComponent.

InstallDate
Data type: datetime
Access type: Read-only

Date and time the object was installed. This property does not need a value to indicate that the object is installed. This property is inherited from CIM_ManagedSystemElement.

InterleavePosition
Data type: uint32
Access type: Read-only

Position of the physical memory in an interleave. A value of 0 indicates non-interleaved, 1 indicates the first position, 2 indicates the second position, and so on. For example, in a 2:1 interleave, a value of 1 indicates that the memory is in the even position.

Manufacturer
Data type: string
Access type: Read-only

Name of the organization responsible for producing the physical element. For more information, see the Vendor property of CIM_Product. This property is inherited from CIM_PhysicalElement.

MemoryType
Data type: uint16
Access type: Read-only

Type of physical memory.

ValueMeaning
0

Unknown

1

Other

2

DRAM

3

Synchronous DRAM

4

Cache DRAM

5

EDO

6

EDRAM

7

VRAM

8

SRAM

9

RAM

10

ROM

11

Flash

12

EEPROM

13

FEPROM

14

EPROM

15

CDRAM

16

3DRAM

17

SDRAM

18

SGRAM

19

RDRAM

20

DDR

 

Model
Data type: string
Access type: Read-only

Name by which the physical element is generally known. This property is inherited from CIM_PhysicalElement.

Name
Data type: string
Access type: Read-only

Label by which the object is known. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.

OtherIdentifyingInfo
Data type: string
Access type: Read-only

Additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar-code data that is associated with an element, which also has an asset tag. Note that if only bar-code data is available, and is unique and able to be used as an element key, this property would be null and the bar-code data would be used as the class key in the Tag property. This property is inherited from CIM_PhysicalElement.

PartNumber
Data type: string
Access type: Read-only

Part number assigned by the organization that produced or manufactured the physical element. This property is inherited from CIM_PhysicalElement

PositionInRow
Data type: uint32
Access type: Read-only

Position of the physical memory in a row. For example, if it takes two 8-bit memory devices to form a 16-bit row, then a value of 2 indicates that the memory is the second device. A value of 0 is an invalid value for this property.

PoweredOn
Data type: boolean
Access type: Read-only

If TRUE, the physical element is powered on. This property is inherited from CIM_PhysicalElement

Removable
Data type: boolean
Access type: Read-only

If TRUE, this element is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A package is considered removable even if the power must be off to perform the removal. If the power can be on and the package removed, then the element is removable and can be hot-swapped. For example, an ungradable processor chip is removable. This property is inherited from CIM_PhysicalComponent.

Replaceable
Data type: boolean
Access type: Read-only

If TRUE, it is possible to replace the element with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable. All removable components are inherently replaceable. This property is inherited from CIM_PhysicalComponent.

SerialNumber
Data type: string
Access type: Read-only

Manufacturer-allocated number used to identify the physical element. This property is inherited from CIM_PhysicalElement

SKU
Data type: string
Access type: Read-only

Stock-keeping unit number for the physical element. This property is inherited from CIM_PhysicalElement

Speed
Data type: uint32
Access type: Read-only

Speed of the physical memory, in nanoseconds.

Status
Data type: string
Access type: Read-only

Current status of the object. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

"OK""
"Error"
"Degraded"
"Unknown"
"Pred Fail"
"Starting"
"Stopping"
"Service"
"Stressed"
"NonRecover"
"No Contact"
"Lost Comm"
Tag
Data type: string
Access type: Read-only

Arbitrary string that uniquely identifies the physical element and serves as the element's key. This property can contain information, such as asset tag or serial number data. The key for CIM_PhysicalElement is placed very high in the object hierarchy to independently identify the hardware or entity, regardless of physical placement in (or on) cabinets, adapters, and so on. For example, a removable component that can be hot-swapped can be taken from its containing (scoping) package and be temporarily unused. The object still continues to exist and can even be inserted into a different scoping container. The key for a physical element is an arbitrary string that is defined independently of placement or location-oriented hierarchy. This property is inherited from CIM_PhysicalElement.

TotalWidth
Data type: uint16
Access type: Read-only

Total width, in bits, of the physical memory, including check or error correction bits. If there are no error correction bits, the value in this property should match that specified for the DataWidth property.

Version
Data type: string
Access type: Read-only

Version of the physical element. This property is inherited from CIM_PhysicalElement

Remarks

The CIM_PhysicalMemory class is derived from CIM_Chip.

WMI does not implement this class. For WMI classes derived from CIM_PhysicalMemory, see Win32 Classes.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

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

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/9/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ