Today, technological progress has reached such a level that sometimes one wants to play God. Of course, we still cannot create people, but it’s quite possible to interact with units of technology. This article will discuss the theoretical possibilities of connecting to various webcams. Please note that the contents of this article are for informational purposes only, so remember that invading another person’s personal space, especially in this way, is punishable by law.
general information
, . , . , , ( ). , -.
.NET Framework VS2010. DirectDraw MSDN. Video For Windows (VFW). WinAPI . , , . .
-? , . , . , capGetDriverDescription().
:
- wDriverIndex – . .
- lpszName – , .
- cbName lpszName.
- lpszVer , .
- cbVer – , .
-? Ipb image . . , , , , , . C#.
, , DLL, . .
?
, - . . ? capGetDriverDescription(), . , . , . . capCreateCaptureWindow(), – . ? – . SendMessage(). capCreateCaptureWindow().
capCreateCaptureWindow() , :
- lpszWindowName – - , ;
- – ;
- – ;
- nWidth – ;
- nHeight – ;
- dwStyle – ;
- hWnd – ;
- nID – .
NULL ( ) . , , WinAPI, . . . , , . , . , :
, .
?
. , - , . , "". "" . , , . "", , .
, . . , - "", . - .
, . , , . . ( ) . . , . , , . - . , . . , .