MCIWndRegisterClass

The MCIWndRegisterClass function registers the MCI window class MCIWND_WINDOW_CLASS.

BOOL MCIWndRegisterClass(
  HINSTANCE hInstance  
);

Parameters

hInstance

Handle to 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.

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 Vfw.h.
  Library: Use Vfw32.lib.

See Also

CreateWindow, CreateWindowEx, MCIWndCreate

Show: