capCreateCaptureWindow function
The capCreateCaptureWindow function creates a capture window.
Syntax
HWND VFWAPI capCreateCaptureWindow( LPCTSTR 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 CreateWindowEx function.
- 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.
Return value
Returns a handle of the capture window if successful or NULL otherwise.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | capCreateCaptureWindowW (Unicode) and capCreateCaptureWindowA (ANSI) |
See also
Build date: 10/27/2012
