IAgentPropertySheet::GetPosition

[从 Windows 7 开始,Microsoft代理已弃用,在后续版本的 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
);

检索Microsoft代理的属性表窗口位置。

  • 返回S_OK以指示作成功。

plLeft

一个变量的地址,该变量接收属性表左边缘的屏幕坐标(以像素为单位),相对于屏幕原点(左上)。

plTop

一个变量的地址,该变量接收属性表上边缘的屏幕坐标(以像素为单位),相对于屏幕原点(左上角)。

另请参阅

IAgentPropertySheet::GetSize