Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.0 KiB

  1. // WDM video capture
  2. // Constants
  3. // PhilF-: Ultimately, after wdm.h has been fixed to work on both
  4. // Win98 and NT5, get the following value from wdm.h instead.
  5. #define FILE_DEVICE_KS 0x0000002f
  6. // Functions
  7. BOOL WDMGetDevices(void);
  8. BOOL WDMOpenDevice(DWORD dwDeviceID);
  9. DWORD WDMGetVideoFormatSize(DWORD dwDeviceID);
  10. BOOL WDMGetVideoFormat(DWORD dwDeviceID, PBITMAPINFOHEADER pbmih);
  11. BOOL WDMSetVideoFormat(DWORD dwDeviceID, PBITMAPINFOHEADER pbmih);
  12. BOOL WDMGetVideoPalette(DWORD dwDeviceID, CAPTUREPALETTE* lpcp, DWORD dwcbSize);
  13. BOOL WDMCloseDevice(DWORD dwDeviceID);
  14. BOOL WDMUnInitializeVideoStream(DWORD dwDeviceID);
  15. BOOL WDMInitializeVideoStream(HCAPDEV hcd, DWORD dwDeviceID, DWORD dwMicroSecPerFrame);
  16. BOOL WDMVideoStreamReset(DWORD dwDeviceID);
  17. BOOL WDMVideoStreamAddBuffer(DWORD dwDeviceID, PVOID pBuff);
  18. BOOL WDMVideoStreamStart(DWORD dwDeviceID);
  19. BOOL WDMVideoStreamStop(DWORD dwDeviceID);
  20. BOOL WDMGetFrame(DWORD dwDeviceID, PVOID pBuff);
  21. BOOL WDMShowSettingsDialog(DWORD dwDeviceID, HWND hWndParent);