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.

68 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. import.idl
  5. Abstract:
  6. This file is useful for creating RPC interfaces that require the use
  7. of windef types. The .idl file for the RPC product should contain a
  8. line in the interface body that imports this file. For example:
  9. import "import.h";
  10. Doing this causes the MIDL generated header file to contain the
  11. following line:
  12. #include "import.h"
  13. If this technique is not used, and instead the .idl file for the RPC
  14. product simply contains #include <import.h>, then the contents of
  15. import.h will be expanded in the MIDL generated header file. This
  16. can lead to duplicate definition problems later when the RPC client
  17. or RPC server code needs to include both the MIDL generated header file
  18. and a file that is included in import.h.
  19. Author:
  20. krishnaG 21-September-1999
  21. Environment:
  22. User Level: Win32
  23. Revision History:
  24. --*/
  25. [
  26. uuid(12345678-1234-ABCD-EF00-9948756789AB),
  27. #ifdef __midl
  28. ms_union,
  29. #endif // __midl
  30. version(0.0)
  31. ]
  32. interface imports
  33. {
  34. #define MIDL_PASS
  35. #include "import.h"
  36. //
  37. // All .idl files need to contain at least one function prototype
  38. //
  39. DWORD
  40. Dummy(
  41. [in] DWORD dwDummyParm
  42. );
  43. }