IAgentCharacterEx::GetOriginalSize

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

HRESULT GetOriginalSize(
   long * plWidth,  // address of variable for character width 
   long * plHeight  // address of variable for character height
);

Retrieves the original size of the character's animation frame.

  • Returns S_OK to indicate the operation was successful.

plWidth

Address of a variable that receives the original width of the character animation frame in pixels.

plHeight

Address of a variable that receives the original height of the character animation frame in pixels.

This call returns the original size of the character frame as built in the Microsoft Agent Character Editor.

See Also

IAgentCharacter::GetSize