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.

86 lines
2.8 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : faxdrv32.h //
  3. // //
  4. // DESCRIPTION : API decleration for the 32 bit size of the fax driver. //
  5. // This file is used also as a source file for the thunk- //
  6. // compiler for creating the 16 and 32 bit thunks. //
  7. // When _THUNK is defined before including this file, the //
  8. // preprocessor result is a thunk script suitable for - //
  9. // creating the thunks. //
  10. // Thunk calls failure results in negative value returned //
  11. // from the thunk call. //
  12. // //
  13. // AUTHOR : DanL. //
  14. // //
  15. // HISTORY : //
  16. // Oct 19 1999 DannyL Creation. //
  17. // //
  18. // Copyright (C) 1999 Microsoft Corporation All Rights Reserved //
  19. /////////////////////////////////////////////////////////////////////////////
  20. #ifndef __FAXDRV32__FAXDRV32_H
  21. #define __FAXDRV32__FAXDRV32_H
  22. #include "..\utils\thunks.h"
  23. #ifndef _THUNK
  24. #endif //_THUNK
  25. BOOL WINAPI
  26. FaxStartDoc(DWORD dwPtr, LPDOCINFO lpdi)
  27. BEGIN_ARGS_DECLARATION
  28. FAULT_ERROR_CODE(-1);
  29. END_ARGS_DECLARATION
  30. BOOL WINAPI
  31. FaxAddPage(DWORD dwPtr,
  32. LPBYTE lpBitmapData,
  33. DWORD dwPxlsWidth,
  34. DWORD dwPxlsHeight)
  35. BEGIN_ARGS_DECLARATION
  36. FAULT_ERROR_CODE(-1);
  37. END_ARGS_DECLARATION
  38. BOOL WINAPI
  39. FaxEndDoc(DWORD dwPtr,
  40. BOOL bAbort)
  41. BEGIN_ARGS_DECLARATION
  42. FAULT_ERROR_CODE(-1);
  43. END_ARGS_DECLARATION
  44. BOOL WINAPI
  45. FaxResetDC(LPDWORD pdwOldPtr,
  46. LPDWORD pdwNewPtr)
  47. BEGIN_ARGS_DECLARATION
  48. FAULT_ERROR_CODE(-1);
  49. END_ARGS_DECLARATION
  50. BOOL WINAPI
  51. FaxDevInstall(LPSTR lpDevName,
  52. LPSTR lpOldPort,
  53. LPSTR lpNewPort)
  54. BEGIN_ARGS_DECLARATION
  55. FAULT_ERROR_CODE(-1);
  56. END_ARGS_DECLARATION
  57. BOOL WINAPI
  58. FaxCreateDriverContext(LPSTR lpDeviceName,
  59. LPSTR lpPort,
  60. LPDEVMODE lpDevMode,
  61. LPDWORD lpDrvContext)
  62. BEGIN_ARGS_DECLARATION
  63. FAULT_ERROR_CODE(-1);
  64. END_ARGS_DECLARATION
  65. BOOL WINAPI
  66. FaxDisable(DWORD dwPtr)
  67. BEGIN_ARGS_DECLARATION
  68. FAULT_ERROR_CODE(-1);
  69. END_ARGS_DECLARATION
  70. #endif //__FAXDRV32__FAXDRV32_H