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_FUNCTIONDISCOVERYCONSTRAINTS 7 #define _INC_FUNCTIONDISCOVERYCONSTRAINTS 8 #if (_WIN32_WINNT >= 0x0600) 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #define FD_CONSTRAINTVALUE_RECURSESUBCATEGORY_TRUE L"TRUE" 15 #define FD_CONSTRAINTVALUE_VISIBILITY_ALL L"1" 16 #define FD_CONSTRAINTVALUE_VISIBILITY_DEFAULT L"0" 17 #define FD_QUERYCONSTRAINT_COMCLSCONTEXT L"COMClsContext" 18 #define FD_CONSTRAINTVALUE_COMCLSCONTEXT_INPROC_SERVER L"1" 19 #define FD_CONSTRAINTVALUE_COMCLSCONTEXT_LOCAL_SERVER L"4" 20 #define FD_QUERYCONSTRAINT_PROVIDERINSTANCEID L"ProviderInstanceID" 21 #define FD_QUERYCONSTRAINT_RECURSESUBCATEGORY L"RecurseSubcategory" 22 #define FD_QUERYCONSTRAINT_SUBCATEGORY L"Subcategory" 23 #define FD_QUERYCONSTRAINT_VISIBILITY L"Visibility" 24 #define FD_QUERYCONSTRAINT_ROUTINGSCOPE L"RoutingScope" 25 #define FD_CONSTRAINTVALUE_ROUTINGSCOPE_ALL (L"All") 26 #define FD_CONSTRAINTVALUE_ROUTINGSCOPE_DIRECT (L"Direct") 27 #define PROVIDERWNET_QUERYCONSTRAINT_PROPERTIES L"Properties" 28 #define PROVIDERWNET_QUERYCONSTRAINT_RESOURCETYPE L"ResourceType" 29 #define PROVIDERWNET_QUERYCONSTRAINT_TYPE L"Type" 30 #define WNET_CONSTRAINTVALUE_PROPERTIES_ALL L"All" 31 #define WNET_CONSTRAINTVALUE_PROPERTIES_LIMITED L"Limited" 32 #define WNET_CONSTRAINTVALUE_TYPE_ALL L"All" 33 #define WNET_CONSTRAINTVALUE_TYPE_DOMAIN L"Domain" 34 #define WNET_CONSTRAINTVALUE_RESOURCETYPE_DISK L"Disk" 35 #define WNET_CONSTRAINTVALUE_RESOURCETYPE_DISKORPRINTER L"DiskOrPrinter" 36 #define WNET_CONSTRAINTVALUE_RESOURCETYPE_PRINTER L"Printer" 37 #define PNP_CONSTRAINTVALUE_NOTPRESENT L"TRUE" 38 #define PNP_CONSTRAINTVALUE_NOTIFICATIONSONLY L"TRUE" 39 #define PROVIDERPNP_QUERYCONSTRAINT_INTERFACECLASS L"InterfaceClass" 40 #define PROVIDERPNP_QUERYCONSTRAINT_NOTIFICATIONSONLY L"NotifyOnly" 41 #define PROVIDERPNP_QUERYCONSTRAINT_NOTPRESENT L"NotPresent" 42 #define PROVIDERSSDP_QUERYCONSTRAINT_TYPE L"Type" 43 #define SSDP_CONSTRAINTVALUE_TYPE_ALL L"ssdp:all" 44 #define SSDP_CONSTRAINTVALUE_TYPE_ROOT L"upnp:rootdevice" 45 #define SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"urn:schemas-upnp-org:device:" 46 #define SSDP_CONSTRAINTVALUE_TYPE_SVC_PREFIX L"urn:schemas-upnp-org:service:" 47 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_IGD L"urn:schemas-upnp-org:device:InternetGatewayDevice:1" 48 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_LANDEVICE L"urn:schemas-upnp-org:device:LANDevice:1" 49 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_LIGHTING L"urn:schemas-upnp-org:device:Lighting:1" 50 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_LUXMETER L"urn:schemas-upnp-org:device:Luxmeter:1" 51 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_MDARNDR L"urn:schemas-upnp-org:device:MediaRenderer:1" 52 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_MDASRVR L"urn:schemas-upnp-org:device:MediaServer:1" 53 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_POWERDEVICE L"urn:schemas-upnp-org:device:PowerDevice:1" 54 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_REMINDER L"urn:schemas-upnp-org:device:Reminder:1" 55 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_WANDEVICE L"urn:schemas-upnp-org:device:WANDevice:1" 56 #define SSDP_CONSTRAINTVALUE_TYPE_DEV_WANCONNDEVICE L"urn:schemas-upnp-org:device:WANConnectionDevice:1" 57 #define SSDP_CONSTRAINTVALUE_TYPE_SVC_DIMMING L"urn:schemas-upnp-org:service:DimmingService:1" 58 #define SSDP_CONSTRAINTVALUE_TYPE_SVC_SCANNER L"urn:schemas-upnp-org:service:Scanner:1" 59 #define PROVIDERWSD_QUERYCONSTRAINT_DIRECTEDADDRESS L"RemoteAddress" 60 #define PROVIDERWSD_QUERYCONSTRAINT_SCOPE L"Scope" 61 #define PROVIDERWSD_QUERYCONSTRAINT_TYPE L"Type" 62 #define PROVIDERWSD_QUERYCONSTRAINT_SSL_CERT_FOR_CLIENT_AUTH L"SSLClientAuthCert" 63 #define PROVIDERWSD_QUERYCONSTRAINT_SECURITY_REQUIREMENTS L"SecurityRequirements" 64 #define WSD_CONSTRAINTVALUE_REQUIRE_SECURECHANNEL (L"1") 65 #define WSD_CONSTRAINTVALUE_REQUIRE_SECURECHANNEL_AND_COMPACTSIGNATURE (L"2") 66 67 typedef enum tagPropertyConstraint { 68 QC_EQUALS = 0, 69 QC_NOTEQUAL = 1, 70 QC_LESSTHAN = 2, 71 QC_LESSTHANOREQUAL = 3, 72 QC_GREATERTHAN = 4, 73 QC_GREATERTHANOREQUAL = 5, 74 QC_STARTSWITH = 6, 75 QC_EXISTS = 7, 76 QC_DOESNOTEXIST = 8, 77 QC_CONTAINS = 8 78 } PropertyConstraint; 79 80 #ifdef __cplusplus 81 } 82 #endif 83 #endif /*(_WIN32_WINNT >= 0x0600)*/ 84 #endif /*_INC_FUNCTIONDISCOVERYCONSTRAINTS*/ 85