/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0628 */ /* @@MIDL_FILE_HEADING( ) */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 501 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif /* __RPCNDR_H_VERSION__ */ #ifndef __naptypes_h__ #define __naptypes_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif #ifndef DECLSPEC_XFGVIRT #if defined(_CONTROL_FLOW_GUARD_XFG) #define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) #else #define DECLSPEC_XFGVIRT(base, func) #endif #endif /* Forward Declarations */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" #ifdef __cplusplus extern "C"{ #endif /* interface __MIDL_itf_naptypes_0000_0000 */ /* [local] */ #include #pragma region Desktop Family #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) extern RPC_IF_HANDLE __MIDL_itf_naptypes_0000_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_naptypes_0000_0000_v0_0_s_ifspec; #ifndef __INapTypes_INTERFACE_DEFINED__ #define __INapTypes_INTERFACE_DEFINED__ /* interface INapTypes */ /* [unique] */ #define maxSoHAttributeCount ( 100 ) #define maxSoHAttributeSize ( 4000 ) #define minNetworkSoHSize ( 12 ) #define maxNetworkSoHSize ( 4000 ) #define maxDwordCountPerSoHAttribute ( ( maxSoHAttributeSize / sizeof( DWORD ) ) ) #define maxIpv4CountPerSoHAttribute ( ( maxSoHAttributeSize / 4 ) ) #define maxIpv6CountPerSoHAttribute ( ( maxSoHAttributeSize / 16 ) ) #define maxStringLength ( 1024 ) #define maxStringLengthInBytes ( ( (( maxStringLength + 1 ) ) * sizeof( WCHAR ) ) ) #define maxSystemHealthEntityCount ( 20 ) #define maxEnforcerCount ( 20 ) #define maxPrivateDataSize ( 200 ) #define maxConnectionCountPerEnforcer ( 20 ) #define maxCachedSoHCount ( ( ( maxSystemHealthEntityCount * maxEnforcerCount ) * maxConnectionCountPerEnforcer ) ) #define freshSoHRequest ( 0x1 ) #define shaFixup ( 0x1 ) typedef enum tagIsolationState { isolationStateNotRestricted = 1, isolationStateInProbation = 2, isolationStateRestrictedAccess = 3 } IsolationState; typedef enum tagExtendedIsolationState { extendedIsolationStateNoData = 0, extendedIsolationStateTransition = 0x1, extendedIsolationStateInfected = 0x2, extendedIsolationStateUnknown = 0x3 } ExtendedIsolationState; typedef enum tagNapTracingLevel { tracingLevelUndefined = 0, tracingLevelBasic = 1, tracingLevelAdvanced = 2, tracingLevelDebug = 3 } NapTracingLevel; typedef FILETIME ProbationTime; typedef struct tagCountedString { UINT16 length; /* [string][size_is][range] */ WCHAR *string; } CountedString; typedef struct tagIsolationInfo { IsolationState isolationState; ProbationTime probEndTime; CountedString failureUrl; } IsolationInfo; typedef struct tagIsolationInfoEx { IsolationState isolationState; ExtendedIsolationState extendedIsolationState; ProbationTime probEndTime; CountedString failureUrl; } IsolationInfoEx; #define failureCategoryCount ( 5 ) typedef enum tagFailureCategory { failureCategoryNone = 0, failureCategoryOther = 1, failureCategoryClientComponent = 2, failureCategoryClientCommunication = 3, failureCategoryServerComponent = 4, failureCategoryServerCommunication = 5 } FailureCategory; typedef struct tagFailureCategoryMapping { BOOL mappingCompliance[ 5 ]; } FailureCategoryMapping; typedef UINT32 NapComponentId; typedef NapComponentId SystemHealthEntityId; typedef NapComponentId EnforcementEntityId; #define ComponentTypeEnforcementClientSoH ( 0x1 ) #define ComponentTypeEnforcementClientRp ( 0x2 ) typedef /* [range] */ __RPC__range(0,maxSystemHealthEntityCount) UINT16 SystemHealthEntityCount; typedef /* [range] */ __RPC__range(0,maxEnforcerCount) UINT16 EnforcementEntityCount; typedef struct tagCorrelationId { GUID connId; FILETIME timeStamp; } CorrelationId; typedef CountedString StringCorrelationId; typedef GUID ConnectionId; #define percentageNotSupported ( 101 ) typedef /* [range] */ __RPC__range(0,percentageNotSupported) UINT8 Percentage; typedef UINT32 MessageId; typedef struct tagResultCodes { /* [range] */ UINT16 count; /* [size_is] */ HRESULT *results; } ResultCodes; typedef struct tagIpv4Address { BYTE addr[ 4 ]; } Ipv4Address; typedef struct tagIpv6Address { BYTE addr[ 16 ]; } Ipv6Address; typedef enum tagFixupState { fixupStateSuccess = 0, fixupStateInProgress = 1, fixupStateCouldNotUpdate = 2 } FixupState; typedef struct tagFixupInfo { FixupState state; Percentage percentage; ResultCodes resultCodes; MessageId fixupMsgId; } FixupInfo; typedef enum tagNapNotifyType { napNotifyTypeUnknown = 0, napNotifyTypeServiceState = 1, napNotifyTypeQuarState = 2 } NapNotifyType; typedef struct tagSystemHealthAgentState { SystemHealthEntityId id; ResultCodes shaResultCodes; FailureCategory failureCategory; FixupInfo fixupInfo; } SystemHealthAgentState; typedef struct tagSoHAttribute { UINT16 type; /* [range] */ UINT16 size; /* [size_is] */ BYTE *value; } SoHAttribute; typedef struct tagSoH { /* [range] */ UINT16 count; /* [size_is] */ SoHAttribute *attributes; } SoH; typedef struct tagSoH SoHRequest; typedef struct tagSoH SoHResponse; typedef struct tagNetworkSoH { /* [range] */ UINT16 size; /* [size_is] */ BYTE *data; } NetworkSoH; typedef struct tagNetworkSoH NetworkSoHRequest; typedef struct tagNetworkSoH NetworkSoHResponse; typedef struct tagPrivateData { /* [range] */ UINT16 size; /* [size_is] */ BYTE *data; } PrivateData; typedef struct tagNapComponentRegistrationInfo { NapComponentId id; CountedString friendlyName; CountedString description; CountedString version; CountedString vendorName; CLSID infoClsid; CLSID configClsid; FILETIME registrationDate; UINT32 componentType; } NapComponentRegistrationInfo; typedef enum tagRemoteConfigurationType { remoteConfigTypeMachine = 1, remoteConfigTypeConfigBlob = ( remoteConfigTypeMachine + 1 ) } RemoteConfigurationType; extern RPC_IF_HANDLE INapTypes_v0_0_c_ifspec; extern RPC_IF_HANDLE INapTypes_v0_0_s_ifspec; #endif /* __INapTypes_INTERFACE_DEFINED__ */ /* interface __MIDL_itf_naptypes_0000_0001 */ /* [local] */ #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ #pragma endregion extern RPC_IF_HANDLE __MIDL_itf_naptypes_0000_0001_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_naptypes_0000_0001_v0_0_s_ifspec; /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif