IAgentPropertySheet::GetPosition
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT GetPosition(
long * plLeft, // address of variable for left edge of property sheet
long * plTop // address of variable for top edge of property sheet
);
Retrieves the Microsoft Agent's property sheet window position.
- Returns S_OK to indicate the operation was successful.
-
plLeft
-
Address of a variable that receives the screen coordinate of the left edge of the property sheet in pixels, relative to the screen origin (upper left).
-
plTop
-
Address of a variable that receives the screen coordinate of the top edge of the property sheet in pixels, relative to the screen origin (upper left).
See Also