WMDMID structure

The WMDMID structure describes serial numbers and group IDs.

Syntax

typedef struct __WMDMID {
  UINT  cbSize;
  DWORD dwVendorID;
  BYTE  pID[WMDMID_LENGTH];
  UINT  SerialNumberLength;
} WMDMID, *PWMDMID;

Members

cbSize

Size of the WMDMID structure, in bytes.

dwVendorID

DWORD containing the registered ID number of the vendor. Contains zero if not in use.

pID[WMDMID_LENGTH]

Pointer to an array of bytes containing the serial number. The serial number is a string of byte values that have no standard format. Note that this is not a wide-character value. WMDMID_LENGTH is a constant value defined in mswmdm.h.

SerialNumberLength

Actual length of the serial number returned, in bytes.

Requirements

Requirement Value
Header
Wmdm.idl

See also

IMDSPDevice::GetSerialNumber

IMDSPStorageGlobals::GetSerialNumber

IWMDMDevice::GetSerialNumber

IWMDMStorageGlobals::GetSerialNumber

Structures