MCIWndChangeStyles

The MCIWndChangeStyles macro changes the styles used by the MCIWnd window. You can use this macro or explicitly send the MCIWNDM_CHANGESTYLES message.

LONG MCIWndChangeStyles(
  hwnd,  
  mask,  
  value  
);
 

Parameters

hwnd
Handle of the MCIWnd window.
mask
Mask that identifies the styles that can change. This mask is the bitwise OR operator of all styles that will be permitted to change.
value
New style settings for the window. Specify zero for this parameter to turn off all styles identified in the mask. For a list of the available styles, see the MCIWndCreate function.

Return Values

Returns zero.

Remarks

For an example of using MCIWndChangeStyles, see Pausing and Resuming Playback.

QuickInfo

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

See Also

MCIWnd Window Class Overview, MCIWnd Macros, MCIWNDM_CHANGESTYLES