WebCam Send comments on this topic.
capCreateCaptureWindowA Method
See Also 
Masslets.WebCam Namespace > API32 Class : capCreateCaptureWindowA Method




lpszWindowName
dwStyle
x
y
nWidth
nHeight
hWndParent
nID

Syntax

Visual Basic (Declaration) 
<DllImportAttribute("avicap32.dll")>
<PreserveSigAttribute()>
Public Shared Function capCreateCaptureWindowA( _
   ByVal lpszWindowName() As Byte, _
   ByVal dwStyle As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal nWidth As Integer, _
   ByVal nHeight As Integer, _
   ByVal hWndParent As IntPtr, _
   ByVal nID As Integer _
) As IntPtr
Visual Basic (Usage)Copy Code
Dim lpszWindowName() As Byte
Dim dwStyle As Integer
Dim x As Integer
Dim y As Integer
Dim nWidth As Integer
Dim nHeight As Integer
Dim hWndParent As IntPtr
Dim nID As Integer
Dim value As IntPtr
 
value = API32.capCreateCaptureWindowA(lpszWindowName, dwStyle, x, y, nWidth, nHeight, hWndParent, nID)
C# 
[DllImportAttribute("avicap32.dll")]
[PreserveSigAttribute()]
public static IntPtr capCreateCaptureWindowA( 
   byte[] lpszWindowName,
   int dwStyle,
   int x,
   int y,
   int nWidth,
   int nHeight,
   IntPtr hWndParent,
   int nID
)
Managed Extensions for C++ 
[DllImportAttribute("avicap32.dll")]
[PreserveSigAttribute()]
public: static IntPtr capCreateCaptureWindowA( 
   byte[]* lpszWindowName,
   int dwStyle,
   int x,
   int y,
   int nWidth,
   int nHeight,
   IntPtr hWndParent,
   int nID
) 
C++/CLI 
[DllImportAttribute("avicap32.dll")]
[PreserveSigAttribute()]
public:
static IntPtr capCreateCaptureWindowA( 
   array<byte>^ lpszWindowName,
   int dwStyle,
   int x,
   int y,
   int nWidth,
   int nHeight,
   IntPtr hWndParent,
   int nID
) 

Parameters

lpszWindowName
dwStyle
x
y
nWidth
nHeight
hWndParent
nID

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2008 All Rights Reserved.