MCIWndRegisterClass

The MCIWndRegisterClass function registers the MCI window class MCIWND_WINDOW_CLASS.

BOOL MCIWndRegisterClass(
  HINSTANCE hInstance  
);
 

Parameters

hInstance
Handle of the device instance.

Return Values

Returns zero if successful.

Remarks

After registering the MCI window class, use the CreateWindow or CreateWindowEx functions to create an MCIWnd window. If your application uses this function, it does not need to use the MCIWndCreate function.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: Use vfw32.lib.

See Also

MCIWnd Window Class Overview, MCIWnd Functions, CreateWindow, CreateWindowEx, MCIWndCreate