SECAgentCharacterExPtr::CreateNotifySink

BOOLSECAgentCharacterExPtr::CreateNotifySink(IAgentExPtr&ptrAgent)

Creates a notification sink for the underlying character.

Defined in: ot_agent.cpp

Return Value

TRUE if successful, FALSE on error.

Parameters

ptrAgent

Reference to the Agent Server Interface.

Comments

Creates and registeres an IAgentNotifySinkEx object to listen for commands. Also inserts a "Change Default Character" command into the commands list and keeps it hidden until EnableCharChangeCommand is called.