Partager via


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

See Also

Reference

IOleInPlaceSiteWindowless Interface

Microsoft.VisualStudio.OLE.Interop Namespace