[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]
HRESULT GetSize(
long * plWidth, // address of variable for property sheet width
long * plHeight // address of variable for property sheet height
);
擷取 Microsoft Agent 屬性表視窗的大小。
- 傳回S_OK,表示作業成功。
-
plWidth
-
相對於螢幕原點(左上方),以像素為單位接收屬性表寬度的變數位址。
-
plHeight
-
相對於螢幕原點(左上方),以像素為單位接收屬性表高度的變數位址。
另請參閱
IAgentPropertySheet::GetPosition