IQuickActivate::GetContentExtent method

Gets the content extent of a control.

Syntax


HRESULT GetContentExtent(
  [out] LPSIZEL pSizel
);

Parameters

pSizel [out]

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

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IQuickActivate is defined as CF51ED10-62FE-11CF-BF86-00A0C9034836

See also

IQuickActivate

 

 

Show: