Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef _INC_NAPTYPES
      7 #define _INC_NAPTYPES
      8 
      9 #if (_WIN32_WINNT >= 0x0600)
     10 
     11 typedef enum tagSoHAttributeType {
     12   sohAttributeTypeSystemHealthId           = 2,
     13   sohAttributeTypeIpv4FixupServers         = 3,
     14   sohAttributeTypeComplianceResultCodes    = 4,
     15   sohAttributeTypeTimeOfLastUpdate         = 5,
     16   sohAttributeTypeClientId                 = 6,
     17   sohAttributeTypeVendorSpecific           = 7,
     18   sohAttributeTypeHealthClass              = 8,
     19   sohAttributeTypeSoftwareVersion          = 9,
     20   sohAttributeTypeProductName              = 10,
     21   sohAttributeTypeHealthClassStatus        = 11,
     22   sohAttributeTypeSoHGenerationTime        = 12,
     23   sohAttributeTypeErrorCodes               = 13,
     24   sohAttributeTypeFailureCategory          = 14,
     25   sohAttributeTypeIpv6FixupServers         = 15,
     26   sohAttributeTypeExtendedIsolationState   = 16
     27 } SoHAttributeType;
     28 
     29 typedef union tagSoHAttributeValue {
     30   SystemHealthEntityId     idVal;
     31   struct tagIpv4Addresses {
     32     UINT16 count;
     33     Ipv4Address *addresses;
     34   } v4AddressesVal;
     35   struct tagIpv6Addresses {
     36     UINT16 count;
     37     Ipv6Address *addresses;
     38   } v6AddressesVal;
     39   ResultCodes              codesVal;
     40   FILETIME                 dateTimeVal;
     41   struct tagVendorSpecific {
     42     UINT32 vendorId;
     43     UINT16 size;
     44     BYTE *vendorSpecificData;
     45   } vendorSpecificVal;
     46   UINT8                    uint8Val;
     47   struct tagOctetString {
     48     UINT16 size;
     49     BYTE *data;
     50   } octetStringVal;
     51 }SoHAttributeValue;
     52 
     53 typedef enum tagHealthClassValue {
     54   healthClassFirewall         = 0,
     55   healthClassPatchLevel       = 1,
     56   healthClassAntiVirus        = 2,
     57   healthClassCriticalUpdate   = 3,
     58   healthClassReserved         = 128
     59 } HealthClassValue;
     60 
     61 #endif /*(_WIN32_WINNT >= 0x0600)*/
     62 
     63 #endif /* _INC_NAPTYPES */
     64 
     65