Index   Commented   Search   About

MCI_OPEN_PARMS

The MCI_OPEN_PARMS structure contains information for the MCI_OPEN command.

typedef struct {

DWORD dwCallback;

MCIDEVICEID wDeviceID;

LPCSTR lpstrDeviceType;

LPCSTR lpstrElementName;

LPCSTR lpstrAlias;

} MCI_OPEN_PARMS;

Members

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 Constants: Device Types.

lpstrElementName

Device element (often a path).

lpstrAlias

Optional device alias.

Remarks

When assigning data to the members of this structure, set the corresponding flags in the fdwCommand parameter of the mciSendCommand function to validate the members.

See Also

MCI_OPEN
, mciSendCommand

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun