IOleInPlaceSiteWindowless::AdjustRect Method (array<RECT>^)

 

Adjusts a specified rectangle if it is entirely or partially covered by overlapping, opaque objects.

Namespace:   Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

int AdjustRect(
	array<RECT>^ prc
)

Parameters

prc
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in,out] Rectangle to adjust.

Return Value

Type: System::Int32

S_OK

The rectangle was adjusted successfully. Note S_OK means that the rectangle was not completely covered.

S_FALSE

The rectangle was adjusted successfully. Note S_FALSE means that the rectangle was completely covered. Its width and height are now NULL.

For information on the COM interface, see 36FA395D-09B2-474D-85AE-5A22D25E88EB

Return to top
Show: