XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

HwndRenderTargetProperties function

Creates a D2D1_HWND_RENDER_TARGET_PROPERTIES structure.

Syntax


 WINAPI HwndRenderTargetProperties(
  _In_  HWND hwnd,
  _In_  D2D1_SIZE_U pixelSize = D2D1::Size(static_cast<UINT>(0), static_cast<UINT>(0)),
  _In_  D2D1_PRESENT_OPTIONS presentOptions = D2D1_PRESENT_OPTIONS_NONE
);

Parameters

hwnd [in]

Type: HWND

The HWND to which the render target issues the output from its drawing commands.

pixelSize [in]

Type: D2D1_SIZE_U

The size of the render target, in pixels. The default value is a D2D1_SIZE_U that has a width and height of 0.

presentOptions [in]

Type: D2D1_PRESENT_OPTIONS

A value that specifies whether the render target retains the frame after it is presented and whether the render target waits for the device to refresh before presenting. The default value is D2D1_PRESENT_OPTIONS_NONE.

Return value

Type:

A structure that contains the HWND, pixel size, and presentation options for an ID2D1HwndRenderTarget.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1helper.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft