Leaked source code of windows server 2003
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.

70 lines
1.9 KiB

  1. /*
  2. * Copyright (c) 1996 1997, 1998 Philips CE I&C
  3. *
  4. * FILE PHVCMEXT.H
  5. * DATE 7-1-97
  6. * VERSION 1.00
  7. * AUTHOR M.J. Verberne
  8. * DESCRIPTION Main of extension DLL
  9. * HISTORY This header file originates
  10. * from Microsoft.
  11. */
  12. #ifndef _PHVCMEXT_
  13. #define _PHVCMEXT_
  14. #include <prsht.h>
  15. /*======================== DEFINES =======================================*/
  16. #define VFW_HIDE_SETTINGS_PAGE 0x00000001
  17. #define VFW_HIDE_IMAGEFORMAT_PAGE 0x00000002
  18. #define VFW_HIDE_CAMERACONTROL_PAGE 0x00000004
  19. #define VFW_HIDE_ALL_PAGES (VFW_HIDE_SETTINGS_PAGE | VFW_HIDE_IMAGEFORMAT_PAGE | VFW_HIDE_CAMERACONTROL_PAGE)
  20. #define VFW_OEM_ADD_PAGE 0x80000000 // If OEM has added any page
  21. #define VFW_USE_DEVICE_HANDLE 0x00000001
  22. #define VFW_USE_STREAM_HANDLE 0x00000002
  23. #define VFW_QUERY_DEV_CHANGED 0x00000100 // Selected_dev == streaming_dev
  24. /*======================== DATA TYPES ====================================*/
  25. //
  26. // This is the function pointer that vfwwdm mapper calls to add an page
  27. //
  28. typedef
  29. DWORD (CALLBACK FAR * VFWWDMExtensionProc)(
  30. LPVOID pfnDeviceIoControl,
  31. LPFNADDPROPSHEETPAGE pfnAddPropertyPage,
  32. LPARAM lParam);
  33. //
  34. // This is the function pointer that you can call to make DeviceIoControl() calls.
  35. //
  36. typedef
  37. BOOL (CALLBACK FAR * LPFNEXTDEVIO)(
  38. LPARAM lParam,
  39. DWORD dwFlags,
  40. DWORD dwIoControlCode,
  41. LPVOID lpInBuffer,
  42. DWORD nInBufferSize,
  43. LPVOID lpOutBuffer,
  44. DWORD nOutBufferSize,
  45. LPDWORD lpBytesReturned,
  46. LPOVERLAPPED lpOverlapped);
  47. //
  48. // This struture is used to record the device pointer
  49. //
  50. typedef
  51. struct _VFWEXT_INFO
  52. {
  53. LPFNEXTDEVIO pfnDeviceIoControl;
  54. LPARAM lParam;
  55. } VFWEXT_INFO, * PVFWEXT_INFO;
  56. /*======================== GLOBAL DATA ===================================*/
  57. // instance handle of this module
  58. extern HINSTANCE hInst;
  59. #endif