MCI_BREAK_PARMS

The MCI_BREAK_PARMS structure contains virtual-key code and window information for the MCI_BREAK command.

typedef struct {
    DWORD 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 of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.

See Also

MCI Overview, MCI Structures, MCI_BREAK, mciSendCommand