Group: Windows Multimedia - Library: avicap32
HWND VFWAPI capCreateCaptureWindow(
LPCSTR lpszWindowName,
DWORD dwStyle,
int x,
int y,
int nWidth,
int nHeight,
HWND hWnd,
int nID
); DECLARE INTEGER capCreateCaptureWindow IN avicap32;
STRING lpszWindowName,;
INTEGER dwStyle,;
INTEGER x,;
INTEGER y,;
INTEGER nWidth,;
INTEGER nHeight,;
INTEGER hParent,;
INTEGER nID lpszWindowName Null-terminated string containing the name used for the capture window.
dwStyle Window styles used for the capture window.
x The x-coordinate of the upper left corner of the capture window.
y The y-coordinate of the upper left corner of the capture window.
nWidth Width of the capture window.
nHeight Height of the capture window.
hWnd Handle to the parent window.
nID Window identifier.
Returns a handle of the capture window if successful or NULL otherwise.
Use BITOR(WS_CHILD, WS_VISIBLE) for dwStyle parameter. The class name for the window created with this function is usually ClsCapWin.
See also: CreateWindowEx, DestroyWindow.
Home