IAgentCharacter::Stop

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT Stop(
   long dwReqID  // request ID
);

Stops the specified animation (request) and removes it from the character's animation queue.

  • Returns S_OK to indicate the operation was successful.

dwReqID

The ID of the request to stop.

Stop can also be used to halt any queued Prepare calls.

See Also

IAgentCharacter::Prepare, IAgentCharacter::StopAll