MCI_BREAK_PARMS

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

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

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

MCI, MCI Structures, MCI_BREAK, mciSendCommand