IOleInPlaceSiteWindowless.ReleaseDC Method
Releases the device context previously obtained by a call to IOleInPlaceSiteWindowless::GetDC.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub ReleaseDC ( _
hDC As IntPtr _
)
void ReleaseDC(
IntPtr hDC
)
void ReleaseDC(
[InAttribute] IntPtr hDC
)
abstract ReleaseDC :
hDC:IntPtr -> unit
function ReleaseDC(
hDC : IntPtr
)
Parameters
hDC
Type: IntPtr[in] Specifies the device context to be released.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::ReleaseDC
.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.