MCI_BREAK_PARMS  V45TQP 

The MCI_BREAK_PARMS structure contains virtual-key code and window information for the MCI_BREAKLIULU3 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_H60X4 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.

 

See Also

MCI_BREAK, mciSendCommand