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
'宣言
Sub ReleaseDC ( _
hDC As IntPtr _
)
'使用
Dim instance As IOleInPlaceSiteWindowless
Dim hDC As IntPtr
instance.ReleaseDC(hDC)
void ReleaseDC(
IntPtr hDC
)
void ReleaseDC(
[InAttribute] IntPtr hDC
)
function ReleaseDC(
hDC : IntPtr
)
Parameters
hDC
Type: System.IntPtr[in] Specifies the device context to be released.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::ReleaseDC
Permissions
- 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