IOleInPlaceSiteWindowless.AdjustRect(RECT[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adjusts a specified rectangle if it is entirely or partially covered by overlapping, opaque objects.
public:
int AdjustRect(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
public:
int AdjustRect(Platform::Array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prc);
int AdjustRect(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & prc);
public int AdjustRect (Microsoft.VisualStudio.OLE.Interop.RECT[] prc);
abstract member AdjustRect : Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function AdjustRect (prc As RECT()) As Integer
Parameters
- prc
- RECT[]
[in,out] Rectangle to adjust.
Returns
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.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::AdjustRect