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.

44 lines
1.2 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1991 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: import.idl
  7. //
  8. // Description: This file is useful for creating RPC interfaces that
  9. // require the use of windef types. The .idl file for the
  10. // RPC product should contain a line in the interface body
  11. // that imports this file. For example:
  12. //
  13. // import "import.h";
  14. //
  15. // Doing this causes the MIDL generated header file to contain the
  16. // following line:
  17. //
  18. // #include "import.h"
  19. //
  20. // If this technique is not used, and instead the .idl file
  21. // for the RPC product simply contains #include <import.h>,
  22. // then the contents of import.h will be expanded in the MIDL
  23. // generated header file. This can lead to duplicate definition
  24. // problems later when the RPC client or RPC server code needs to
  25. // include both the MIDL generated header file and a file that is
  26. // included in import.h.
  27. //
  28. //
  29. [
  30. uuid(939a6bd0-03ae-11d1-9317-006097b59017),
  31. version(1.0),
  32. pointer_default(unique)
  33. ]
  34. interface imports
  35. {
  36. #define MIDL_PASS
  37. #include "import.h"
  38. }