IOleInPlaceSiteWindowless::GetDC Method (array<RECT>^, UInt32, IntPtr)

 

Provides an object with a handle to a device context for a screen or compatible device from its container.

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

void GetDC(
	array<RECT>^ pRect,
	unsigned int grfFlags,
	[OutAttribute] IntPtr% phDC
)

Parameters

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

[in] Pointer to the rectangle that the object wants to redraw, in client coordinates of the containing window. If this parameter is NULL, the object's full extent is redrawn.

grfFlags
Type: System::UInt32

[in] A combination of values from the OLEDCFLAGS enumeration.

phDC
Type: System::IntPtr

[out] Pointer to a returned device context.

For information on the COM interface, see 232587A8-ED88-4339-9E28-6E34BE263A51

Return to top
Show: