Share via


WMDMID (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

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

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also