capCreateCaptureWindow  II060Y 

The capCreateCaptureWindow function creates a capture window.

HWND VFWAPI capCreateCaptureWindow(

    LPCSTR lpszWindowName,

 

    DWORD dwStyle,

 

    int x,

 

    int y,

 

    int nWidth,

 

    int nHeight,

 

    HWND hWnd,

 

    int nID

 

   );

 

 

Parameters

lpszWindowName

Null-terminated string containing the name used for the capture window.

dwStyle

Window styles used for the capture window. Window styles are described with the CreateWindowExRPK.PC function.

x and y

The x- and y-coordinates of the upper left corner of the capture window.

nWidth and nHeight

Width and height of the capture window.

hWnd

Handle of the parent window.

nID

Window identifier.

 

Return Values

Returns a handle of the capture window if successful or NULL otherwise.

See Also

CreateWindowEx