共用方式為


CHwndRenderTarget::Create

Creates a render target associated with the window

BOOL Create(
   HWND hWnd
);

Parameters

  • hWnd
    The HWND associated with this render target

Return Value

If the method succeeds, it returns TRUE. Otherwise, it returns FALSE

Requirements

Header: afxrendertarget.h

See Also

Reference

CHwndRenderTarget Class