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.

51 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. import.h
  5. Abstract:
  6. This file allows us to include standard system header files in the
  7. .idl file. The main .idl file imports a file called import.idl.
  8. This allows the .idl file to use the types defined in these header
  9. files. It also causes the following line to be added in the
  10. MIDL generated header file:
  11. #include "import.h"
  12. Thus these types are available to the RPC stub routines as well.
  13. Author:
  14. Dan Lafferty (danl) 07-May-1991
  15. Revision History:
  16. Adina Trufinescu (adinatru) 12-Dec-1999
  17. Define LPDEVMODEW and PSECURITY_DESCRIPTOR as pointers in order to
  18. let RPC do the conversion from a 32bit to a 64bit quantity. Make sure
  19. these pointers are set on NULL all over the place where use PRINTER_CONTAINER,
  20. otherwise RPC will get confused when try to marshall.
  21. --*/
  22. #ifdef MIDL_PASS
  23. #define WIN32_LEAN_AND_MEAN
  24. #endif
  25. #include <windows.h>
  26. #ifdef MIDL_PASS
  27. #define LPWSTR [string] wchar_t*
  28. #define LPDEVMODEW ULONG_PTR
  29. #define PSECURITY_DESCRIPTOR ULONG_PTR
  30. #define HANDLE ULONG_PTR
  31. #define BOOL DWORD
  32. #endif
  33. #include <winspool.h>
  34. #include <winsplp.h>
  35. #include <..\..\..\..\public\internal\printscan\inc\splapip.h>
  36. #include <..\..\..\..\public\internal\windows\inc\winsprlp.h>