C++中的MCI_OPEN_PARMS是什么意思

MCI_OPEN_PARMS是一结构体类型,其结构体定义为

 

typedef struct {
  DWORD_PTR   dwCallback;
  MCIDEVICEID wDeviceID;//设别ID
  LPCTSTR     lpstrDeviceType;//设备类型
  LPCTSTR     lpstrElementName;//文件名
  LPCTSTR     lpstrAlias;//别名
} MCI_OPEN_PARMS;

 

 

结构体成员具体为:

dwCallback

The low-order word specifies a window handle used for the MCI_NOTIFY flag.

wDeviceID

Identifier returned to application.

lpstrDeviceType

Name or constant identifier of the device type. (The name of the device is typically obtained from the registry or SYSTEM.INI file.) If this member is a constant, it can be one of the values listed in MCI Device Types.

lpstrElementName

Device element (often a path).

lpstrAlias

Optional device alias.

你可能感兴趣的:(C/C++)