 |
mciSendCommand ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sends a command message to the specified MCI device. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
MCIERROR mciSendCommand(
MCIDEVICEID IDDevice,
UINT uMsg,
DWORD fdwCommand,
DWORD_PTR dwParam
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER mciSendCommand IN winmm;
INTEGER IDDevice,;
LONG uMsg,;
LONG fdwCommand,;
LONG dwParam
|
 |
 |
 |
| Parameters: |
 |
IDDevice
Device identifier of the MCI device that is to receive the command message. This parameter is not used with the MCI_OPEN command message.
uMsg
Command message, a multimedia command.
fdwCommand
Flags for the command message.
dwParam
Pointer to a structure that contains parameters for the command message. |
 |
 |
| Return value: |
 |
Returns zero if successful or an error otherwise. The low-order word of the returned DWORD value contains the error return value.
To retrieve a text description of return values, pass the return value to the mciGetErrorString function. |
 |
 |
| My comment: |
 |
List of Multimedia Commands on MSDN.
See also: mciSendString, mciGetDeviceID |
 |
 |
| Word Index links for the mciSendCommand : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2010-03-24 10:36:52 | | Modified: | 2010-03-25 11:51:37 | Visited in last 7 days: 12 |