視頻運行庫AVICAP32.DLL說明收藏2008-09-28 09:04html
// ------------------------------------------------------------------
// 窗口消息 WM_CAP... 哪一個是送到 AVICAP 窗口
// ------------------------------------------------------------------框架
// 開始定義消息參數 整數型
const avicap32='avicap32.dll';post
WM_CAP_START= WM_USER=1024;性能
// start of unicode messages
WM_CAP_UNICODE_START= WM_USER+100; //開始code
WM_CAP_GET_CAPSTREAMPTR= (WM_CAP_START+ 1); //得到 CAPSTR EAMPTR視頻
WM_CAP_SET_CALLBACK_ERROR= (WM_CAP_START+ 2); //設置回調錯誤
WM_CAP_SET_CALLBACK_STATUS= (WM_CAP_START+ 3); //設置回調狀態htm
WM_CAP_SET_CALLBACK_YIELD= (WM_CAP_START+ 4); //設置回調出產
WM_CAP_SET_CALLBACK_FRAME= (WM_CAP_START+ 5); //設置回調結構
WM_CAP_SET_CALLBACK_VIDEOSTREAM= (WM_CAP_START+ 6); //設置回調視頻流
WM_CAP_SET_CALLBACK_WAVESTREAM= (WM_CAP_START+ 7); //設置回調視頻波流
WM_CAP_GET_USER_DATA =(WM_CAP_START+ 8); //得到使用者數據
WM_CAP_SET_USER_DATA =(WM_CAP_START+ 9) ; //設置使用者數據blog
WM_CAP_DRIVER_CONNECT =(WM_CAP_START+ 10); //驅動程序鏈接
WM_CAP_DRIVER_DISCONNECT =(WM_CAP_START+ 11); //斷開啓動程序鏈接接口
WM_CAP_DRIVER_GET_NAME =(WM_CAP_START+ 12); //得到驅動程序名字
WM_CAP_DRIVER_GET_VERSION =(WM_CAP_START+ 13); //得到驅動程序版本unicode
WM_CAP_DRIVER_GET_CAPS =(WM_CAP_START+ 14); //得到驅動程序性能
WM_CAP_FILE_SET_CAPTURE_FILE =(WM_CAP_START+ 20); //設置捕獲文件的文件名
WM_CAP_FILE_GET_CAPTURE_FILE =(WM_CAP_START+ 21); //得到捕獲文件的文件名
WM_CAP_FILE_SAVEAS =(WM_CAP_START+ 23); //另存文件爲
WM_CAP_FILE_SAVEDIB =(WM_CAP_START+ 25); //保存文件
// out of order to save on ifdefs
WM_CAP_FILE_ALLOCATE =(WM_CAP_START+ 22); //分派文件, 爲捕獲文件建一個指定大小的文件
WM_CAP_FILE_SET_INFOCHUNK =(WM_CAP_START+ 24); //設置開始文件
WM_CAP_EDIT_COPY =(WM_CAP_START+ 30); //編輯複製,把圖象考入剪貼板
WM_CAP_SET_AUDIOFORMAT =(WM_CAP_START+ 35); //設置音頻格式
WM_CAP_GET_AUDIOFORMAT =(WM_CAP_START+ 36); //捕獲音頻格式
WM_CAP_DLG_VIDEOFORMAT =(WM_CAP_START+ 41); //1065 打開視頻格式設置對話框, 選擇數字視頻的框架大小和視頻圖像的色深,以及捕獲視頻圖像的壓縮格式。
WM_CAP_DLG_VIDEOSOURCE =(WM_CAP_START+ 42); //1066 打開屬性設置對話框,設置對比度、亮度等。(視頻源對話框) 選擇視頻輸入通道和視頻圖像的動態參數。
WM_CAP_DLG_VIDEODISPLAY =(WM_CAP_START+ 43); //1067 打開視頻顯示對話框
WM_CAP_GET_VIDEOFORMAT =(WM_CAP_START+ 44); //1068 得到視頻格式
WM_CAP_SET_VIDEOFORMAT =(WM_CAP_START+ 45); //1069 設置視頻格式
WM_CAP_DLG_VIDEOCOMPRESSION =(WM_CAP_START+ 46); //1070 打開壓縮設置對話框
WM_CAP_SET_PREVIEW =(WM_CAP_START+ 50); //設置預覽模式
WM_CAP_SET_OVERLAY =(WM_CAP_START+ 51); //設置覆蓋
WM_CAP_SET_PREVIEWRATE =(WM_CAP_START+ 52); //設置預覽模式下圖像的幀速度
WM_CAP_SET_SCALE =(WM_CAP_START+ 53); //設置預覽視頻的縮放比例
WM_CAP_GET_STATUS =(WM_CAP_START+ 54); //得到狀態
WM_CAP_SET_SCROLL =(WM_CAP_START+ 55); //設置卷
WM_CAP_GRAB_FRame =(WM_CAP_START+ 60); //逮捕結構
WM_CAP_GRAB_FRame_NOSTOP =(WM_CAP_START+ 61); //中止逮捕結構,截取當前圖象
WM_CAP_SEQUENCE =(WM_CAP_START+ 62); //次序,捕捉到文件
WM_CAP_SEQUENCE_NOFILE =(WM_CAP_START+ 63); //沒有文件
WM_CAP_SET_SEQUENCE_SETUP =(WM_CAP_START+ 64); //設置當前捕獲的幀頻率
WM_CAP_GET_SEQUENCE_SETUP =(WM_CAP_START+ 65); //得到當前捕獲的幀頻率
WM_CAP_SET_MCI_DEVICE =(WM_CAP_START+ 66); //設置媒體控制接口
WM_CAP_GET_MCI_DEVICE =(WM_CAP_START+ 67); //得到媒體控制接口
WM_CAP_STOP =(WM_CAP_START+ 68); //中止捕捉
WM_CAP_ABORT =(WM_CAP_START+ 69); //異常中斷
WM_CAP_SINGLE_FRame_OPEN =(WM_CAP_START+ 70); //打開單一的結構
WM_CAP_SINGLE_FRame_CLOSE =(WM_CAP_START+ 71); //關閉單一的結構
WM_CAP_SINGLE_FRame =(WM_CAP_START+ 72); //單一的結構
WM_CAP_PAL_OPEN =(WM_CAP_START+ 80); //打開視頻
WM_CAP_PAL_SAVE =(WM_CAP_START+ 81); //保存視頻
WM_CAP_PAL_PASTE =(WM_CAP_START+ 82); //粘貼視頻
WM_CAP_PAL_AUTOCREATE =(WM_CAP_START+ 83); //自動創造
WM_CAP_PAL_MANUALCREATE =(WM_CAP_START+ 84); //手動創造
// Following added post VFW 1.1
WM_CAP_SET_CALLBACK_CAPCONTROL =(WM_CAP_START+ 85); // 設置收回的錯誤
WM_CAP_END =WM_CAP_SET_CALLBACK_CAPCONTROL;
轉自:http://hi.baidu.com/cyap/blog/item/f6613cef0c8a2710fcfa3c24.html