C++中的MCI_OPEN_PARMS是什么意思

来源:互联网 发布:brett anderson知乎 编辑:程序博客网 时间:2024/04/28 22:44

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.

原创粉丝点击