ITargetFrame2::GetFrameMargins Method
Gets the margins of the frame.
Syntax
HRESULT GetFrameMargins( DWORD *pdwWidth, DWORD *pdwHeight );
Parameters
- pdwWidth
[out] A pointer to an unsigned long integer value that receives the margin width of the frame, in pixels.- pdwHeight
[out] A pointer to an unsigned long integer value that receives the margin height of the frame, in pixels.
Return Value
Returns S_OK if successful, or an error value otherwise.