MCI_BREAK_PARMS structure
The MCI_BREAK_PARMS structure contains virtual-key code and window information for the MCI_BREAK command.
Syntax
typedef struct {
DWORD_PTR dwCallback;
int nVirtKey;
HWND hwndBreak;
} MCI_BREAK_PARMS;
Members
-
dwCallback
-
The low-order word specifies a window handle used for the MCI_NOTIFY flag.
-
nVirtKey
-
Virtual-key code for break key.
-
hwndBreak
-
Handle to the window that must be the current window for break detection.
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. The following flags are defined:
MCI_BREAK_HWND
Validates the hwndBreak member specifying the window that must have focus to enable break detection.
MCI_BREAK_KEY
Validates the nVirtKey member specifying the virtual-key code to be used for the break key.
MCI_BREAK_OFF
Disables any existing break key.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|