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.

66 lines
1.4 KiB

  1. /****************************************************************************
  2. *
  3. * MODULE : PREVIEW.H
  4. *
  5. ****************************************************************************/
  6. #if !defined INC_PREVIEW
  7. #define INC_PREVIEW
  8. // begin_vfw32
  9. #ifdef OFN_READONLY
  10. // end_vfw32
  11. #ifdef WIN32
  12. #ifndef VFWAPI
  13. #define VFWAPI WINAPI
  14. #define VFWAPIV WINAPIV
  15. #endif
  16. // begin_vfw32
  17. BOOL
  18. VFWAPI
  19. GetOpenFileNamePreviewA(
  20. IN OUT LPOPENFILENAMEA lpofn
  21. );
  22. BOOL
  23. VFWAPI
  24. GetSaveFileNamePreviewA(
  25. IN OUT LPOPENFILENAMEA lpofn
  26. );
  27. BOOL
  28. VFWAPI
  29. GetOpenFileNamePreviewW(
  30. IN OUT LPOPENFILENAMEW lpofn
  31. );
  32. BOOL
  33. VFWAPI
  34. GetSaveFileNamePreviewW(
  35. IN OUT LPOPENFILENAMEW lpofn
  36. );
  37. #ifdef UNICODE
  38. #define GetOpenFileNamePreview GetOpenFileNamePreviewW
  39. #define GetSaveFileNamePreview GetSaveFileNamePreviewW
  40. #else
  41. #define GetOpenFileNamePreview GetOpenFileNamePreviewA
  42. #define GetSaveFileNamePreview GetSaveFileNamePreviewA
  43. #endif
  44. // end_vfw32
  45. #else
  46. BOOL FAR PASCAL _loadds GetOpenFileNamePreview(LPOPENFILENAME lpofn);
  47. BOOL FAR PASCAL _loadds GetSaveFileNamePreview(LPOPENFILENAME lpofn);
  48. #endif // WIN32
  49. // begin_vfw32
  50. #endif // OFN_READONLY
  51. // end_vfw32
  52. #endif // INC_PREVIEW