Removes an RTC condition event alias from the RTC database.
DWORD dispUnregisterRTCAlias (CTAHD ctahd, RTC_ALIAS *alias )
|
Argument |
Description |
|
ctahd |
Handle to a Natural Access context. |
|
alias |
Pointer to the RTC_ALIAS array, defined as: typedef struct |
|
Return value |
Description |
|
SUCCESS |
|
|
CTAERR_BAD_ARGUMENT |
alias is NULL, alias contains a zero length Alias string, or the EventID is not a valid service event. |
|
CTAERR_INVALID_CTAHD |
Specified ctahd is invalid. |
|
CTAERR_NOT_FOUND |
Specified alias could not be found in the RTC database. |
|
CTAERR_NOT_INITIALIZED |
Natural Access is not initialized. |
|
CTAERR_SVR_COMM |
Natural Access Server is not running. |
dispUnregisterRTCAlias removes an alias from the RTC database. dispUnregisterRTCAlias should be called by the xxxCloseService binding function if a corresponding dispRegisterRTCAlias function was performed at the time of the xxxOpenService binding function call.