IAgentPropertySheet::GetSize

[从 Windows 7 开始,Microsoft 代理已弃用,可能在后续版本的 Windows 中不可用。]

HRESULT GetSize(
   long * plWidth,  // address of variable for property sheet width
   long * plHeight  // address of variable for property sheet height
);

检索 Microsoft 代理属性表窗口的大小。

  • 返回指示操作成功的S_OK。

plWidth

接收属性表宽度的变量的地址(以像素为单位),相对于屏幕原点 (左上角) 。

plHeight

接收属性表高度的变量的地址(以像素为单位),相对于屏幕原点 (左上角) 。

另请参阅

IAgentPropertySheet::GetPosition