IQuickActivate::GetContentExtent method (ocidl.h)
Gets the content extent of a control.
Syntax
HRESULT GetContentExtent(
[out] LPSIZEL pSizel
);
Parameters
[out] pSizel
A pointer to a structure that contains size of the content extent.
Return value
If the method succeeds, the return value is S_OK. Otherwise, it is E_FAIL.
Remarks
The SIZEL structure is defined in Wtypes.h as follows.
typedef struct tagSIZEL
{
LONG cx;
LONG cy;
} SIZEL;
typedef struct tagSIZEL *PSIZEL;
typedef struct tagSIZEL *LPSIZEL;
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | ocidl.h |