Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Sub GetDC ( _
pRect As RECT(), _
grfFlags As UInteger, _
<OutAttribute> ByRef phDC As IntPtr _
)
'Usage
Dim instance As IOleInPlaceSiteWindowless
Dim pRect As RECT()
Dim grfFlags As UInteger
Dim phDC As IntPtr
instance.GetDC(pRect, grfFlags, phDC)
void GetDC(
RECT[] pRect,
uint grfFlags,
out IntPtr phDC
)
void GetDC(
[InAttribute] array<RECT>^ pRect,
[InAttribute] unsigned int grfFlags,
[OutAttribute] IntPtr% phDC
)
abstract GetDC :
pRect:RECT[] *
grfFlags:uint32 *
phDC:IntPtr byref -> unit
function GetDC(
pRect : RECT[],
grfFlags : uint,
phDC : IntPtr
)
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.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::GetDC
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IOleInPlaceSiteWindowless Interface