Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 2.97 KB

nf-ocidl-ioleinplacesitewindowless-releasedc.md

File metadata and controls

75 lines (59 loc) · 2.97 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ocidl.IOleInPlaceSiteWindowless.ReleaseDC
IOleInPlaceSiteWindowless::ReleaseDC (ocidl.h)
Releases the device context previously obtained by a call to IOleInPlaceSiteWindowless::GetDC.
IOleInPlaceSiteWindowless interface [COM]
ReleaseDC method
IOleInPlaceSiteWindowless.ReleaseDC
IOleInPlaceSiteWindowless::ReleaseDC
ReleaseDC
ReleaseDC method [COM]
ReleaseDC method [COM]
IOleInPlaceSiteWindowless interface
_ole_ioleinplacesitewindowless_releasedc
com.ioleinplacesitewindowless_releasedc
ocidl/IOleInPlaceSiteWindowless::ReleaseDC
com\ioleinplacesitewindowless_releasedc.htm
com
8778a58c-2995-4c14-826c-9c97e97e957b
12/05/2018
IOleInPlaceSiteWindowless interface [COM],ReleaseDC method, IOleInPlaceSiteWindowless.ReleaseDC, IOleInPlaceSiteWindowless::ReleaseDC, ReleaseDC, ReleaseDC method [COM], ReleaseDC method [COM],IOleInPlaceSiteWindowless interface, _ole_ioleinplacesitewindowless_releasedc, com.ioleinplacesitewindowless_releasedc, ocidl/IOleInPlaceSiteWindowless::ReleaseDC
ocidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
OCIdl.idl
Windows
19H1
IOleInPlaceSiteWindowless::ReleaseDC
ocidl/IOleInPlaceSiteWindowless::ReleaseDC
c++
APIRef
kbSyntax
COM
OCIdl.h
IOleInPlaceSiteWindowless.ReleaseDC

IOleInPlaceSiteWindowless::ReleaseDC

-description

Releases the device context previously obtained by a call to IOleInPlaceSiteWindowless::GetDC.

-parameters

-param hDC [in]

The device context to be released.

-returns

This method returns S_OK on success.

-remarks

An object calls this method to notify its container that the object is done with the device context. If the device context was used for drawing, the container should ensure that all overlapping objects are repainted correctly. If the device context was an offscreen device context, its content should also be copied to the screen in the rectangle originally passed to IOleInPlaceSiteWindowless::GetDC. See IOleInPlaceSiteWindowless::GetDC for implementation notes relevant to IOleInPlaceSiteWindowless::ReleaseDC.

-see-also

IOleInPlaceSiteWindowless

IOleInPlaceSiteWindowless::GetDC