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.

62 lines
1.3 KiB

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