|
|
|
| 1 |
|
|
| 2 |
|
|
| 3 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| 4 |
|
|
| 5 |
|
|
| 6 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
| 7 |
|
/* Compiler settings for ndattrib.idl: |
| 8 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
| 9 |
|
protocol : dce , ms_ext, c_ext, robust |
| 10 |
|
error checks: allocation ref bounds_check enum stub_data |
| 11 |
|
VC __declspec() decoration level: |
| 12 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
| 13 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
| 14 |
|
*/ |
| 15 |
|
//@@MIDL_FILE_HEADING( ) |
| 16 |
|
|
| 17 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| 18 |
|
|
| 19 |
|
|
| 20 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| 21 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 22 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| 23 |
|
#endif |
| 24 |
|
|
| 25 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| 26 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
| 27 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| 28 |
|
#endif |
| 29 |
|
|
| 30 |
|
#include "rpc.h" |
| 31 |
|
#include "rpcndr.h" |
| 32 |
|
|
| 33 |
|
#ifndef __RPCNDR_H_VERSION__ |
| 34 |
|
#error this stub requires an updated version of <rpcndr.h> |
| 35 |
|
#endif // __RPCNDR_H_VERSION__ |
| 36 |
|
|
| 37 |
|
|
| 38 |
|
#ifndef __ndattrib_h__ |
| 39 |
|
#define __ndattrib_h__ |
| 40 |
|
|
| 41 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| 42 |
|
#pragma once |
| 43 |
|
#endif |
| 44 |
|
|
| 45 |
|
/* Forward Declarations */ |
| 46 |
|
|
| 47 |
|
/* header files for imported files */ |
| 48 |
|
#include "oaidl.h" |
| 49 |
|
#include "ocidl.h" |
| 50 |
|
|
| 51 |
|
#ifdef __cplusplus |
| 52 |
|
extern "C"{ |
| 53 |
|
#endif |
| 54 |
|
|
| 55 |
|
|
| 56 |
|
/* interface __MIDL_itf_ndattrib_0000_0000 */ |
| 57 |
|
/* [local] */ |
| 58 |
|
|
| 59 |
|
//+-------------------------------------------------------------------------- |
| 60 |
|
// |
| 61 |
|
// Microsoft Windows |
| 62 |
|
// Copyright (C) Microsoft Corporation, 1992-2004. |
| 63 |
|
// |
| 64 |
|
//--------------------------------------------------------------------------- |
| 65 |
|
#if ( _MSC_VER >= 800 ) |
| 66 |
|
#pragma warning(disable:4201) |
| 67 |
|
#endif |
| 68 |
|
#define NDF_ERROR_START (0xF900) |
| 69 |
|
#define NDF_E_LENGTH_EXCEEDED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WINDOWS, NDF_ERROR_START) |
| 70 |
|
#define NDF_E_NOHELPERCLASS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WINDOWS, NDF_ERROR_START + 1) |
| 71 |
|
#define NDF_E_CANCELLED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WINDOWS, NDF_ERROR_START + 2) |
| 72 |
|
#define NDF_E_DISABLED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WINDOWS, NDF_ERROR_START + 4) |
| 73 |
|
#define NDF_E_BAD_PARAM MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WINDOWS, NDF_ERROR_START + 5) |
| 74 |
|
#define NDF_E_VALIDATION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WINDOWS, NDF_ERROR_START + 6) |
| 75 |
|
typedef /* [v1_enum] */ |
| 76 |
|
enum tagATTRIBUTE_TYPE |
| 77 |
|
{ AT_INVALID = 0, |
| 78 |
|
AT_BOOLEAN = ( AT_INVALID + 1 ) , |
| 79 |
|
AT_INT8 = ( AT_BOOLEAN + 1 ) , |
| 80 |
|
AT_UINT8 = ( AT_INT8 + 1 ) , |
| 81 |
|
AT_INT16 = ( AT_UINT8 + 1 ) , |
| 82 |
|
AT_UINT16 = ( AT_INT16 + 1 ) , |
| 83 |
|
AT_INT32 = ( AT_UINT16 + 1 ) , |
| 84 |
|
AT_UINT32 = ( AT_INT32 + 1 ) , |
| 85 |
|
AT_INT64 = ( AT_UINT32 + 1 ) , |
| 86 |
|
AT_UINT64 = ( AT_INT64 + 1 ) , |
| 87 |
|
AT_STRING = ( AT_UINT64 + 1 ) , |
| 88 |
|
AT_GUID = ( AT_STRING + 1 ) , |
| 89 |
|
AT_LIFE_TIME = ( AT_GUID + 1 ) , |
| 90 |
|
AT_SOCKADDR = ( AT_LIFE_TIME + 1 ) , |
| 91 |
|
AT_OCTET_STRING = ( AT_SOCKADDR + 1 ) |
| 92 |
|
} ATTRIBUTE_TYPE; |
| 93 |
|
|
| 94 |
|
typedef struct tagOCTET_STRING |
| 95 |
|
{ |
| 96 |
|
DWORD dwLength; |
| 97 |
|
BYTE *lpValue; |
| 98 |
|
} OCTET_STRING; |
| 99 |
|
|
| 100 |
|
typedef struct tagOCTET_STRING *POCTET_STRING; |
| 101 |
|
|
| 102 |
|
typedef struct tagLIFE_TIME |
| 103 |
|
{ |
| 104 |
|
FILETIME startTime; |
| 105 |
|
FILETIME endTime; |
| 106 |
|
} LIFE_TIME; |
| 107 |
|
|
| 108 |
|
typedef struct tagLIFE_TIME *PLIFE_TIME; |
| 109 |
|
|
| 110 |
|
typedef struct tagSOCK_ADDR |
| 111 |
|
{ |
| 112 |
|
USHORT family; |
| 113 |
|
CHAR data[ 126 ]; |
| 114 |
|
} DIAG_SOCKADDR; |
| 115 |
|
|
| 116 |
|
typedef struct tagSOCK_ADDR *PDIAG_SOCK_ADDR; |
| 117 |
|
|
| 118 |
|
typedef struct tagHELPER_ATTRIBUTE |
| 119 |
|
{ |
| 120 |
|
LPWSTR pwszName; |
| 121 |
|
ATTRIBUTE_TYPE type; |
| 122 |
|
union |
| 123 |
|
{ |
| 124 |
|
BOOL Boolean; |
| 125 |
|
char Char; |
| 136 |
|
DIAG_SOCKADDR Address; |
| 137 |
|
OCTET_STRING OctetString; |
| 138 |
|
} ; |
| 139 |
|
} HELPER_ATTRIBUTE; |
| 140 |
|
|
| 141 |
|
typedef struct tagHELPER_ATTRIBUTE *PHELPER_ATTRIBUTE; |
| 142 |
|
|
| 143 |
|
typedef /* [v1_enum] */ |
| 144 |
|
enum tagREPAIR_SCOPE |
| 145 |
|
{ RS_SYSTEM = 0, |
| 146 |
|
RS_USER = ( RS_SYSTEM + 1 ) , |
| 147 |
|
RS_APPLICATION = ( RS_USER + 1 ) , |
| 148 |
|
RS_PROCESS = ( RS_APPLICATION + 1 ) |
| 149 |
|
} REPAIR_SCOPE; |
| 150 |
|
|
| 151 |
|
typedef /* [v1_enum] */ enum tagREPAIR_SCOPE *PREPAIR_SCOPE; |
| 152 |
|
|
| 153 |
|
typedef /* [public][public][public][v1_enum] */ |
| 154 |
|
enum __MIDL___MIDL_itf_ndattrib_0000_0000_0002 |
| 155 |
|
{ RR_NOROLLBACK = 0, |
| 156 |
|
RR_ROLLBACK = ( RR_NOROLLBACK + 1 ) , |
| 157 |
|
RR_NORISK = ( RR_ROLLBACK + 1 ) |
| 158 |
|
} REPAIR_RISK; |
| 159 |
|
|
| 160 |
|
typedef /* [public][public][public][public][public][v1_enum] */ |
| 161 |
|
enum __MIDL___MIDL_itf_ndattrib_0000_0000_0003 |
| 162 |
|
{ UIT_INVALID = 0, |
| 163 |
|
UIT_NONE = 1, |
| 164 |
|
UIT_SHELL_COMMAND = ( UIT_NONE + 1 ) , |
| 165 |
|
UIT_HELP_PANE = ( UIT_SHELL_COMMAND + 1 ) , |
| 166 |
|
UIT_DUI = ( UIT_HELP_PANE + 1 ) |
| 167 |
|
} UI_INFO_TYPE; |
| 168 |
|
|
| 169 |
|
typedef struct tagShellCommandInfo |
| 170 |
|
{ |
| 171 |
|
LPWSTR pwszOperation; |
| 172 |
|
LPWSTR pwszFile; |
| 173 |
|
LPWSTR pwszParameters; |
| 174 |
|
LPWSTR pwszDirectory; |
| 175 |
|
ULONG nShowCmd; |
| 176 |
|
} ShellCommandInfo; |
| 177 |
|
|
| 178 |
|
typedef struct tagShellCommandInfo *PShellCommandInfo; |
| 179 |
|
|
| 180 |
|
typedef struct tagUiInfo |
| 181 |
|
{ |
| 182 |
|
UI_INFO_TYPE type; |
| 183 |
|
union |
| 184 |
|
{ |
| 185 |
|
LPWSTR pwzNull; |
| 186 |
|
ShellCommandInfo ShellInfo; |
| 187 |
|
LPWSTR pwzHelpUrl; |
| 188 |
|
LPWSTR pwzDui; |
| 189 |
|
} ; |
| 190 |
|
} UiInfo; |
| 191 |
|
|
| 192 |
|
typedef struct tagUiInfo *PUiInfo; |
| 193 |
|
|
| 194 |
|
#define RF_WORKAROUND 0x20000000 |
| 195 |
|
#define RF_USER_ACTION 0x10000000 |
| 196 |
|
#define RF_USER_CONFIRMATION 0x8000000 |
| 197 |
|
#define RF_INFORMATION_ONLY 0x2000000 |
| 198 |
|
#define RF_UI_ONLY 0x1000000 |
| 199 |
|
#define RF_SHOW_EVENTS 0x800000 |
| 200 |
|
typedef struct tagRepairInfo |
| 201 |
|
{ |
| 202 |
|
GUID guid; |
| 203 |
|
LPWSTR pwszClassName; |
| 204 |
|
LPWSTR pwszDescription; |
| 205 |
|
DWORD sidType; |
| 206 |
|
long cost; |
| 207 |
|
ULONG flags; |
| 208 |
|
REPAIR_SCOPE scope; |
| 209 |
|
REPAIR_RISK risk; |
| 210 |
|
UiInfo UiInfo; |
| 211 |
|
int rootCauseIndex; |
| 212 |
|
} RepairInfo; |
| 213 |
|
|
| 214 |
|
typedef struct tagRepairInfo *PRepairInfo; |
| 215 |
|
|
| 216 |
|
EXTERN_C HRESULT EncodeHelperAttribute(HELPER_ATTRIBUTE *attribute, BYTE **buf, size_t *bufSize); |
| 217 |
|
EXTERN_C HRESULT DecodeHelperAttribute(BYTE *buf, size_t bufSize, HELPER_ATTRIBUTE *attribute); |
| 218 |
|
EXTERN_C HRESULT EncodeRepairInfo(RepairInfo *info, BYTE **buf, size_t *bufSize); |
| 219 |
|
EXTERN_C HRESULT DecodeRepairInfo(BYTE *buf, size_t bufSize, RepairInfo *info); |
| 220 |
|
EXTERN_C GUID NetDiagModuleId; |
| 221 |
|
EXTERN_C GUID NetDiagScenarioId; |
| 222 |
|
|
| 223 |
|
|
| 224 |
|
extern RPC_IF_HANDLE __MIDL_itf_ndattrib_0000_0000_v0_0_c_ifspec; |
| 225 |
|
extern RPC_IF_HANDLE __MIDL_itf_ndattrib_0000_0000_v0_0_s_ifspec; |
| 226 |
|
|
| 227 |
|
/* Additional Prototypes for ALL interfaces */ |
| 228 |
|
|
| 229 |
|
/* end of Additional Prototypes */ |
| 230 |
|
|
| 231 |
|
#ifdef __cplusplus |
| 232 |
|
} |
| 233 |
|
#endif |
| 234 |
|
|
| 235 |
|
#endif |
| 236 |
|
|
| 237 |
|
|
| 238 |
|
|
| 239 |
|
|
|
|
|