Platform SDK: Agent

IAgent::Unregister

HRESULT Unregister(
   long dwSinkID  //notification sink ID
);

Unloads the character data for the specified character from the Characters collection.

dwSinkID
The notification sink ID.

Use this method when you no longer need Microsoft Agent services, such as when your application shuts down.

See Also

IAgent::Register