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.

69 lines
2.6 KiB

  1. /****************************************************************************/
  2. /* */
  3. /* MSVIDEOI.H - Internal Include file for Video APIs */
  4. /* */
  5. /* Note: You must include WINDOWS.H before including this file. */
  6. /* */
  7. /* Copyright (c) 1990-1992, Microsoft Corp. All rights reserved. */
  8. /* */
  9. /****************************************************************************/
  10. #ifdef BUILDDLL
  11. #undef WINAPI
  12. #define WINAPI FAR PASCAL _loadds
  13. #endif
  14. /****************************************************************************
  15. Digital Video Driver Structures
  16. ****************************************************************************/
  17. #define MAXVIDEODRIVERS 10
  18. /****************************************************************************
  19. Globals
  20. ****************************************************************************/
  21. extern UINT wTotalVideoDevs; // total video devices
  22. // The module handle is used in drawdib to load strings from the resource file
  23. extern HINSTANCE ghInst; // our module handle
  24. extern BOOL gfIsRTL;
  25. extern SZCODE szVideo[];
  26. extern SZCODE szSystemIni[];
  27. extern SZCODE szDrivers[];
  28. // If the following structure changes, update AVICAP and AVICAP.32 also!!!
  29. typedef struct tCapDriverInfo {
  30. TCHAR szKeyEnumName[MAX_PATH];
  31. TCHAR szDriverName[MAX_PATH];
  32. TCHAR szDriverDescription[MAX_PATH];
  33. TCHAR szDriverVersion[80];
  34. TCHAR szSoftwareKey[MAX_PATH];
  35. DWORD dnDevNode; // Set if this is a PnP device
  36. BOOL fOnlySystemIni; // If the [path]drivername is only in system.ini
  37. BOOL fDisabled; // User has disabled driver in the control panel
  38. BOOL fActive; // Reserved
  39. } CAPDRIVERINFO, FAR *LPCAPDRIVERINFO;
  40. /* internal video function prototypes */
  41. #ifdef _WIN32
  42. /*
  43. * don't lock pages in NT
  44. */
  45. #define HugePageLock(x, y) (TRUE)
  46. #define HugePageUnlock(x, y)
  47. #else
  48. BOOL FAR PASCAL HugePageLock(LPVOID lpArea, DWORD dwLength);
  49. void FAR PASCAL HugePageUnlock(LPVOID lpArea, DWORD dwLength);
  50. #define videoGetErrorTextW videoGetErrorText
  51. #endif
  52. /****************************************************************************
  53. ****************************************************************************/