| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcClose(object : isize) -> super::super::Foundation:: BOOL); |
| 3 |
#[cfg(feature = "Win32_Foundation")] |
| 4 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcDeleteSubscription(subscriptionname : ::windows_sys::core::PCWSTR, flags : u32) -> super::super::Foundation:: BOOL); |
| 5 |
#[cfg(feature = "Win32_Foundation")] |
| 6 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcEnumNextSubscription(subscriptionenum : isize, subscriptionnamebuffersize : u32, subscriptionnamebuffer : ::windows_sys::core::PWSTR, subscriptionnamebufferused : *mut u32) -> super::super::Foundation:: BOOL); |
| 7 |
#[cfg(feature = "Win32_Foundation")] |
| 8 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcGetObjectArrayProperty(objectarray : isize, propertyid : EC_SUBSCRIPTION_PROPERTY_ID, arrayindex : u32, flags : u32, propertyvaluebuffersize : u32, propertyvaluebuffer : *mut EC_VARIANT, propertyvaluebufferused : *mut u32) -> super::super::Foundation:: BOOL); |
| 9 |
#[cfg(feature = "Win32_Foundation")] |
| 10 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcGetObjectArraySize(objectarray : isize, objectarraysize : *mut u32) -> super::super::Foundation:: BOOL); |
| 11 |
#[cfg(feature = "Win32_Foundation")] |
| 12 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcGetSubscriptionProperty(subscription : isize, propertyid : EC_SUBSCRIPTION_PROPERTY_ID, flags : u32, propertyvaluebuffersize : u32, propertyvaluebuffer : *mut EC_VARIANT, propertyvaluebufferused : *mut u32) -> super::super::Foundation:: BOOL); |
| 13 |
#[cfg(feature = "Win32_Foundation")] |
| 14 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcGetSubscriptionRunTimeStatus(subscriptionname : ::windows_sys::core::PCWSTR, statusinfoid : EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID, eventsourcename : ::windows_sys::core::PCWSTR, flags : u32, statusvaluebuffersize : u32, statusvaluebuffer : *mut EC_VARIANT, statusvaluebufferused : *mut u32) -> super::super::Foundation:: BOOL); |
| 15 |
#[cfg(feature = "Win32_Foundation")] |
| 16 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcInsertObjectArrayElement(objectarray : isize, arrayindex : u32) -> super::super::Foundation:: BOOL); |
| 17 |
::windows_targets::link!("wecapi.dll" "system" fn EcOpenSubscription(subscriptionname : ::windows_sys::core::PCWSTR, accessmask : u32, flags : u32) -> isize); |
| 18 |
::windows_targets::link!("wecapi.dll" "system" fn EcOpenSubscriptionEnum(flags : u32) -> isize); |
| 19 |
#[cfg(feature = "Win32_Foundation")] |
| 20 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcRemoveObjectArrayElement(objectarray : isize, arrayindex : u32) -> super::super::Foundation:: BOOL); |
| 21 |
#[cfg(feature = "Win32_Foundation")] |
| 22 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcRetrySubscription(subscriptionname : ::windows_sys::core::PCWSTR, eventsourcename : ::windows_sys::core::PCWSTR, flags : u32) -> super::super::Foundation:: BOOL); |
| 23 |
#[cfg(feature = "Win32_Foundation")] |
| 24 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcSaveSubscription(subscription : isize, flags : u32) -> super::super::Foundation:: BOOL); |
| 25 |
#[cfg(feature = "Win32_Foundation")] |
| 26 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcSetObjectArrayProperty(objectarray : isize, propertyid : EC_SUBSCRIPTION_PROPERTY_ID, arrayindex : u32, flags : u32, propertyvalue : *mut EC_VARIANT) -> super::super::Foundation:: BOOL); |
| 27 |
#[cfg(feature = "Win32_Foundation")] |
| 28 |
::windows_targets::link!("wecapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EcSetSubscriptionProperty(subscription : isize, propertyid : EC_SUBSCRIPTION_PROPERTY_ID, flags : u32, propertyvalue : *mut EC_VARIANT) -> super::super::Foundation:: BOOL); |
| 29 |
pub const EC_CREATE_NEW: u32 = 1u32; |
| 30 |
pub const EC_OPEN_ALWAYS: u32 = 0u32; |
| 31 |
pub const EC_OPEN_EXISTING: u32 = 2u32; |
| 32 |
pub const EC_READ_ACCESS: u32 = 1u32; |
| 33 |
pub const EC_VARIANT_TYPE_ARRAY: u32 = 128u32; |
| 34 |
pub const EC_VARIANT_TYPE_MASK: u32 = 127u32; |
| 35 |
pub const EC_WRITE_ACCESS: u32 = 2u32; |
| 36 |
pub const EcConfigurationModeCustom: EC_SUBSCRIPTION_CONFIGURATION_MODE = 1i32; |
| 37 |
pub const EcConfigurationModeMinBandwidth: EC_SUBSCRIPTION_CONFIGURATION_MODE = 3i32; |
| 38 |
pub const EcConfigurationModeMinLatency: EC_SUBSCRIPTION_CONFIGURATION_MODE = 2i32; |
| 39 |
pub const EcConfigurationModeNormal: EC_SUBSCRIPTION_CONFIGURATION_MODE = 0i32; |
| 40 |
pub const EcContentFormatEvents: EC_SUBSCRIPTION_CONTENT_FORMAT = 1i32; |
| 41 |
pub const EcContentFormatRenderedText: EC_SUBSCRIPTION_CONTENT_FORMAT = 2i32; |
| 42 |
pub const EcDeliveryModePull: EC_SUBSCRIPTION_DELIVERY_MODE = 1i32; |
| 43 |
pub const EcDeliveryModePush: EC_SUBSCRIPTION_DELIVERY_MODE = 2i32; |
| 44 |
pub const EcRuntimeStatusActiveStatusActive: EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS = 2i32; |
| 45 |
pub const EcRuntimeStatusActiveStatusDisabled: EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS = 1i32; |
| 46 |
pub const EcRuntimeStatusActiveStatusInactive: EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS = 3i32; |
| 47 |
pub const EcRuntimeStatusActiveStatusTrying: EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS = 4i32; |
| 48 |
pub const EcSubscriptionAllowedIssuerCAs: EC_SUBSCRIPTION_PROPERTY_ID = 28i32; |
| 49 |
pub const EcSubscriptionAllowedSourceDomainComputers: EC_SUBSCRIPTION_PROPERTY_ID = 31i32; |
| 50 |
pub const EcSubscriptionAllowedSubjects: EC_SUBSCRIPTION_PROPERTY_ID = 29i32; |
| 51 |
pub const EcSubscriptionCommonPassword: EC_SUBSCRIPTION_PROPERTY_ID = 23i32; |
| 52 |
pub const EcSubscriptionCommonUserName: EC_SUBSCRIPTION_PROPERTY_ID = 22i32; |
| 53 |
pub const EcSubscriptionConfigurationMode: EC_SUBSCRIPTION_PROPERTY_ID = 8i32; |
| 54 |
pub const EcSubscriptionContentFormat: EC_SUBSCRIPTION_PROPERTY_ID = 18i32; |
| 55 |
pub const EcSubscriptionCredBasic: EC_SUBSCRIPTION_CREDENTIALS_TYPE = 3i32; |
| 56 |
pub const EcSubscriptionCredDefault: EC_SUBSCRIPTION_CREDENTIALS_TYPE = 0i32; |
| 57 |
pub const EcSubscriptionCredDigest: EC_SUBSCRIPTION_CREDENTIALS_TYPE = 2i32; |
| 58 |
pub const EcSubscriptionCredLocalMachine: EC_SUBSCRIPTION_CREDENTIALS_TYPE = 4i32; |
| 59 |
pub const EcSubscriptionCredNegotiate: EC_SUBSCRIPTION_CREDENTIALS_TYPE = 1i32; |
| 60 |
pub const EcSubscriptionCredentialsType: EC_SUBSCRIPTION_PROPERTY_ID = 21i32; |
| 61 |
pub const EcSubscriptionDeliveryMaxItems: EC_SUBSCRIPTION_PROPERTY_ID = 14i32; |
| 62 |
pub const EcSubscriptionDeliveryMaxLatencyTime: EC_SUBSCRIPTION_PROPERTY_ID = 15i32; |
| 63 |
pub const EcSubscriptionDeliveryMode: EC_SUBSCRIPTION_PROPERTY_ID = 13i32; |
| 64 |
pub const EcSubscriptionDeniedSubjects: EC_SUBSCRIPTION_PROPERTY_ID = 30i32; |
| 65 |
pub const EcSubscriptionDescription: EC_SUBSCRIPTION_PROPERTY_ID = 6i32; |
| 66 |
pub const EcSubscriptionDialect: EC_SUBSCRIPTION_PROPERTY_ID = 26i32; |
| 67 |
pub const EcSubscriptionEnabled: EC_SUBSCRIPTION_PROPERTY_ID = 0i32; |
| 68 |
pub const EcSubscriptionEventSourceAddress: EC_SUBSCRIPTION_PROPERTY_ID = 2i32; |
| 69 |
pub const EcSubscriptionEventSourceEnabled: EC_SUBSCRIPTION_PROPERTY_ID = 3i32; |
| 70 |
pub const EcSubscriptionEventSourcePassword: EC_SUBSCRIPTION_PROPERTY_ID = 5i32; |
| 71 |
pub const EcSubscriptionEventSourceUserName: EC_SUBSCRIPTION_PROPERTY_ID = 4i32; |
| 72 |
pub const EcSubscriptionEventSources: EC_SUBSCRIPTION_PROPERTY_ID = 1i32; |
| 73 |
pub const EcSubscriptionExpires: EC_SUBSCRIPTION_PROPERTY_ID = 9i32; |
| 74 |
pub const EcSubscriptionHeartbeatInterval: EC_SUBSCRIPTION_PROPERTY_ID = 16i32; |
| 75 |
pub const EcSubscriptionHostName: EC_SUBSCRIPTION_PROPERTY_ID = 24i32; |
| 76 |
pub const EcSubscriptionLocale: EC_SUBSCRIPTION_PROPERTY_ID = 17i32; |
| 77 |
pub const EcSubscriptionLogFile: EC_SUBSCRIPTION_PROPERTY_ID = 19i32; |
| 78 |
pub const EcSubscriptionPropertyIdEND: EC_SUBSCRIPTION_PROPERTY_ID = 32i32; |
| 79 |
pub const EcSubscriptionPublisherName: EC_SUBSCRIPTION_PROPERTY_ID = 20i32; |
| 80 |
pub const EcSubscriptionQuery: EC_SUBSCRIPTION_PROPERTY_ID = 10i32; |
| 81 |
pub const EcSubscriptionReadExistingEvents: EC_SUBSCRIPTION_PROPERTY_ID = 25i32; |
| 82 |
pub const EcSubscriptionRunTimeStatusActive: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 0i32; |
| 83 |
pub const EcSubscriptionRunTimeStatusEventSources: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 5i32; |
| 84 |
pub const EcSubscriptionRunTimeStatusInfoIdEND: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 7i32; |
| 85 |
pub const EcSubscriptionRunTimeStatusLastError: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 1i32; |
| 86 |
pub const EcSubscriptionRunTimeStatusLastErrorMessage: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 2i32; |
| 87 |
pub const EcSubscriptionRunTimeStatusLastErrorTime: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 3i32; |
| 88 |
pub const EcSubscriptionRunTimeStatusLastHeartbeatTime: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 6i32; |
| 89 |
pub const EcSubscriptionRunTimeStatusNextRetryTime: EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = 4i32; |
| 90 |
pub const EcSubscriptionTransportName: EC_SUBSCRIPTION_PROPERTY_ID = 11i32; |
| 91 |
pub const EcSubscriptionTransportPort: EC_SUBSCRIPTION_PROPERTY_ID = 12i32; |
| 92 |
pub const EcSubscriptionType: EC_SUBSCRIPTION_PROPERTY_ID = 27i32; |
| 93 |
pub const EcSubscriptionTypeCollectorInitiated: EC_SUBSCRIPTION_TYPE = 1i32; |
| 94 |
pub const EcSubscriptionTypeSourceInitiated: EC_SUBSCRIPTION_TYPE = 0i32; |
| 95 |
pub const EcSubscriptionURI: EC_SUBSCRIPTION_PROPERTY_ID = 7i32; |
| 96 |
pub const EcVarObjectArrayPropertyHandle: EC_VARIANT_TYPE = 5i32; |
| 97 |
pub const EcVarTypeBoolean: EC_VARIANT_TYPE = 1i32; |
| 98 |
pub const EcVarTypeDateTime: EC_VARIANT_TYPE = 3i32; |
| 99 |
pub const EcVarTypeNull: EC_VARIANT_TYPE = 0i32; |
| 100 |
pub const EcVarTypeString: EC_VARIANT_TYPE = 4i32; |
| 101 |
pub const EcVarTypeUInt32: EC_VARIANT_TYPE = 2i32; |
| 102 |
pub type EC_SUBSCRIPTION_CONFIGURATION_MODE = i32; |
| 103 |
pub type EC_SUBSCRIPTION_CONTENT_FORMAT = i32; |
| 104 |
pub type EC_SUBSCRIPTION_CREDENTIALS_TYPE = i32; |
| 105 |
pub type EC_SUBSCRIPTION_DELIVERY_MODE = i32; |
| 106 |
pub type EC_SUBSCRIPTION_PROPERTY_ID = i32; |
| 107 |
pub type EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS = i32; |
| 108 |
pub type EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID = i32; |
| 109 |
pub type EC_SUBSCRIPTION_TYPE = i32; |
| 110 |
pub type EC_VARIANT_TYPE = i32; |
| 111 |
#[repr(C)] |
| 112 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 113 |
#[cfg(feature = "Win32_Foundation")] |
| 114 |
pub struct EC_VARIANT { |
| 115 |
pub Anonymous: EC_VARIANT_0, |
| 116 |
pub Count: u32, |
| 117 |
pub Type: u32, |
| 118 |
} |
| 119 |
#[cfg(feature = "Win32_Foundation")] |
| 120 |
impl ::core::marker::Copy for EC_VARIANT {} |
| 121 |
#[cfg(feature = "Win32_Foundation")] |
| 122 |
impl ::core::clone::Clone for EC_VARIANT { |
| 123 |
fn clone(&self) -> Self { |
| 124 |
*self |
| 125 |
} |
| 126 |
} |
| 127 |
#[repr(C)] |
| 128 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 129 |
#[cfg(feature = "Win32_Foundation")] |
| 130 |
pub union EC_VARIANT_0 { |
| 131 |
pub BooleanVal: super::super::Foundation::BOOL, |
| 132 |
pub UInt32Val: u32, |
| 133 |
pub DateTimeVal: u64, |
| 134 |
pub StringVal: ::windows_sys::core::PCWSTR, |
| 135 |
pub BinaryVal: *mut u8, |
| 136 |
pub BooleanArr: *mut super::super::Foundation::BOOL, |
| 137 |
pub Int32Arr: *mut i32, |
| 138 |
pub StringArr: *mut ::windows_sys::core::PWSTR, |
| 139 |
pub PropertyHandleVal: isize, |
| 140 |
} |
| 141 |
#[cfg(feature = "Win32_Foundation")] |
| 142 |
impl ::core::marker::Copy for EC_VARIANT_0 {} |
| 143 |
#[cfg(feature = "Win32_Foundation")] |
| 144 |
impl ::core::clone::Clone for EC_VARIANT_0 { |
| 145 |
fn clone(&self) -> Self { |
| 146 |
*self |
| 147 |
} |
| 148 |
} |