共用方式為


CHwndRenderTarget::Detach

Detaches render target interface from the object

ID2D1HwndRenderTarget* Detach();

Return Value

Pointer to detached render target interface.

Requirements

Header: afxrendertarget.h

See Also

Reference

CHwndRenderTarget Class