EcDeleteSubscription function (evcoll.h)
The EcDeleteSubscription function deletes an existing subscription that is specified by the SubscriptionName parameter.
The function fails if the security descriptor of the subscription does not permit delete access for the calling process.
If the subscription is active at the moment this API is called, then the subscription is deactivated.
Syntax
BOOL EcDeleteSubscription(
[in] LPCWSTR SubscriptionName,
[in] DWORD Flags
);
Parameters
[in] SubscriptionName
The subscription to be deleted.
[in] Flags
Reserved, must be 0.
Return value
This function returns BOOL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | evcoll.h |
Library | Wecapi.lib |
DLL | Wecapi.dll |