¤³¤ó¤Ë¤Á¤ï¡¢¤ê¤µ¤Ç¤¹¡£
>¤½¤ÎÊýÌ̤ξðÊó¤Ï³§Ìµ¤Ê¤Î¤Ç¡¢¤¢¤¯¤Þ¤Ç¤½¤Î¥Ú¡¼¥¸¤ò¸«¤¿¸Â¤ê¤Ç¤ÎÏÃ
¤¢¤¿¤·¤âÁ´¤¯ÃΤé¤Ê¤¤¤·¡¢¡ÖUSB¥«¥á¥é¤Ã¤Æ²¿¡©¡×¤Ã¤Æ¤¤¤¦´¶¤¸¤Ê¤ó¤Ç¤¹¤¬¡¢
¤Á¤ç¤Ã¤ÈÄ´¤Ù¤Æ¤ß¤Þ¤·¤¿¡£
>capCreateCaptureWindow´Ø¿ô¤ÇºîÀ®¤·¤¿¥¥ã¥×¥Á¥ã¥¦¥£¥ó¥É¥¦¤Ë
>¤½¤Î¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë·Á¡©
¤Ê¤Î¤Ç¤¢¤ì¤Ð¡¢
#define WM_CAP_DLG_VIDEOFORMAT 0x00000429
#uselib "VFW32.dll"
#cfunc capCreateCaptureWindow "capCreateCaptureWindowA" sptr,sptr,sptr,sptr,sptr,sptr,sptr,sptr
nWnd = "WindowName"
hCWnd = capCreateCaptureWindow( varptr(nWnd), WS_XXXXX, 0, 0, 320, 480, hWnd, id )
SendMsg hCWnd, WM_CAP_DLG_VIDEOFORMAT, 0, 0
¤ß¤¿¤¤¤Ê´¶¤¸¤À¤È»×¤¦¤Î¤Ç¤¹¤¬¡¦¡¦¡¦Æ°ºî¤Ï¤·¤Þ¤»¤ó¡£
¶Ä¤Ã¤Æ¤ª¤é¤ì¤ëcapDlgVideoFormat¤Ç¤¹¤¬¡¢¤³¤ì¤ÏVFW.h¤È¤¤¤¦¥Ø¥Ã¥ÀÆâ¤Ç
#define capDlgVideoFormat(hwnd) ((BOOL)AVICapSM(hwnd, WM_CAP_DLG_VIDEOFORMAT, 0, 0L))
¤ÈÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤À¤±¤Î¥Þ¥¯¥í¤À¤È»×¤¤¤Þ¤¹¡£
¤¢¤È¡¢¤³¤ÎAVICapSM¤Ç¤¹¤¬¡¢¤³¤ì¤ÏƱ¤¸¤¯VFW.hÆâ¤Ç¡¢
#define AVICapSM(hwnd,m,w,l) ( (IsWindow(hwnd)) ? ::SendMessage(hwnd,m,w,l) : 0)
¤ÈÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£
¤½¤ì¤é¤ò¹Í¤¨¤¿¤é¾å¤Î¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È¤Ë¤Ê¤Ã¤¿¤Î¤Ç¡¢¤½¤ì¤À¤±¤´Êó¹ðÃפ·¤Þ¤¹¡£
¡Ê´°Á´¤Ë¸«Åö³°¤ì¤Îͽ´¶¤¬¤¹¤ë¤Î¤Ç¡¢»²¹Í¤Ë¤Ï¤Ê¤é¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡Ë
¼ºÎ餷¤Þ¤·¤¿¡£