Source code of Windows XP (NT5)
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.

75 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1991-1992 Microsoft Corporation
  3. Module Name:
  4. AtSvcInc.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 "AtSvcInc.idl";
  10. Doing this causes the MIDL generated header file to contain the
  11. following line:
  12. #include "AtSvcInc.h"
  13. If this technique is not used, and instead the .idl file for the RPC
  14. product simply contains #include <AtSvcInc.h>, then the contents of
  15. AtSvcInc.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 AtSvcInc.h.
  19. Author:
  20. Vladimir Z. Vulovic (vladimv) 06 - November - 1992
  21. Environment:
  22. User Mode - Win32 - for use with the MIDL compiler
  23. Revision History:
  24. 06-Nov-1992 vladimv Created
  25. 20-Jun-2002 shbrown renamed imports.idl to AtSvcInc.idl as header files
  26. for this RPC interface now need to be published
  27. --*/
  28. [
  29. uuid(12345678-1234-ABCD-EF00-9948756789AB),
  30. version(1.0),
  31. #ifdef __midl
  32. ms_union,
  33. #endif // __midl
  34. pointer_default(unique)
  35. ]
  36. interface imports
  37. {
  38. #include <windef.h>
  39. #include <lmcons.h>
  40. #define LPSTR [string] LPSTR
  41. #define LPTSTR [string] wchar_t *
  42. #define LPWSTR [string] wchar_t *
  43. #define BOOL DWORD
  44. #include <lmat.h>
  45. //
  46. // All .idl files need to contain at least one function prototype
  47. //
  48. DWORD
  49. Dummy(
  50. [in] DWORD DummyParm);
  51. }