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.

172 lines
4.1 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for EEInfo.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, oldnames, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #include "midles.h"
  23. #ifndef __EEInfo_h__
  24. #define __EEInfo_h__
  25. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  26. #pragma once
  27. #endif
  28. /* Forward Declarations */
  29. #ifdef __cplusplus
  30. extern "C"{
  31. #endif
  32. void * __RPC_USER MIDL_user_allocate(size_t);
  33. void __RPC_USER MIDL_user_free( void * );
  34. #ifndef __ExtendedError_INTERFACE_DEFINED__
  35. #define __ExtendedError_INTERFACE_DEFINED__
  36. /* interface ExtendedError */
  37. /* [explicit_handle][unique][version][uuid] */
  38. typedef struct tagEEAString
  39. {
  40. short nLength;
  41. /* [size_is] */ byte *pString;
  42. } EEAString;
  43. typedef struct tagEEUString
  44. {
  45. short nLength;
  46. /* [size_is] */ unsigned short *pString;
  47. } EEUString;
  48. typedef struct tagBinaryEEInfo
  49. {
  50. short nSize;
  51. /* [size_is] */ unsigned char *pBlob;
  52. } BinaryEEInfo;
  53. typedef
  54. enum tagExtendedErrorParamTypesInternal
  55. { eeptiAnsiString = 1,
  56. eeptiUnicodeString = eeptiAnsiString + 1,
  57. eeptiLongVal = eeptiUnicodeString + 1,
  58. eeptiShortVal = eeptiLongVal + 1,
  59. eeptiPointerVal = eeptiShortVal + 1,
  60. eeptiNone = eeptiPointerVal + 1,
  61. eeptiBinary = eeptiNone + 1
  62. } ExtendedErrorParamTypesInternal;
  63. typedef struct tagParam
  64. {
  65. ExtendedErrorParamTypesInternal Type;
  66. /* [switch_is][switch_type] */ union
  67. {
  68. /* [case()] */ EEAString AnsiString;
  69. /* [case()] */ EEUString UnicodeString;
  70. /* [case()] */ long LVal;
  71. /* [case()] */ short IVal;
  72. /* [case()] */ __int64 PVal;
  73. /* [case()] */ /* Empty union arm */
  74. /* [case()] */ BinaryEEInfo Blob;
  75. } ;
  76. } ExtendedErrorParam;
  77. typedef
  78. enum tagEEComputerNamePresent
  79. { eecnpPresent = 1,
  80. eecnpNotPresent = eecnpPresent + 1
  81. } EEComputerNamePresent;
  82. typedef struct tagEEComputerName
  83. {
  84. EEComputerNamePresent Type;
  85. /* [switch_is][switch_type] */ union
  86. {
  87. /* [case()] */ EEUString Name;
  88. /* [case()] */ /* Empty union arm */
  89. } ;
  90. } EEComputerName;
  91. typedef struct tagExtendedErrorInfo
  92. {
  93. struct tagExtendedErrorInfo *Next;
  94. EEComputerName ComputerName;
  95. unsigned long ProcessID;
  96. __int64 TimeStamp;
  97. unsigned long GeneratingComponent;
  98. unsigned long Status;
  99. unsigned short DetectionLocation;
  100. unsigned short Flags;
  101. short nLen;
  102. /* [size_is] */ ExtendedErrorParam Params[ 1 ];
  103. } ExtendedErrorInfo;
  104. typedef /* [decode][encode] */ ExtendedErrorInfo *ExtendedErrorInfoPtr;
  105. extern RPC_IF_HANDLE ExtendedError_ClientIfHandle;
  106. extern RPC_IF_HANDLE ExtendedError_ServerIfHandle;
  107. #endif /* __ExtendedError_INTERFACE_DEFINED__ */
  108. /* Additional Prototypes for ALL interfaces */
  109. size_t
  110. ExtendedErrorInfoPtr_AlignSize(
  111. handle_t _MidlEsHandle,
  112. ExtendedErrorInfoPtr * _pType);
  113. void
  114. ExtendedErrorInfoPtr_Encode(
  115. handle_t _MidlEsHandle,
  116. ExtendedErrorInfoPtr * _pType);
  117. void
  118. ExtendedErrorInfoPtr_Decode(
  119. handle_t _MidlEsHandle,
  120. ExtendedErrorInfoPtr * _pType);
  121. void
  122. ExtendedErrorInfoPtr_Free(
  123. handle_t _MidlEsHandle,
  124. ExtendedErrorInfoPtr * _pType);
  125. /* end of Additional Prototypes */
  126. #ifdef __cplusplus
  127. }
  128. #endif
  129. #endif