oamAlertRegister

Registers a client application to receive NMS OAM alert events.

Prototype

DWORD oamAlertRegister ( CTAHD ctahd )

Argument

Description

ctahd

[in] Context handle.


Return values

Return value

Description

SUCCESS

 

OAMERR_ALREADY_EXISTS

Already registered.

OAMERR_NOT_ENOUGH_MEMORY

Memory allocation error.


Details

If an application attempts to register a shared context using oamAlertRegister, and another application has already registered the context, OAMERR_ALREADY_EXISTS is returned.

For more information, see Receiving NMS OAM alert notifications.

See also

oamAlertNotify, oamAlertUnregister