Skip to content

Latest commit

 

History

History
118 lines (87 loc) · 3.53 KB

nf-d2d1_1-id2d1properties-getpropertyname(uint32_pwstr_uint32).md

File metadata and controls

118 lines (87 loc) · 3.53 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:d2d1_1.ID2D1Properties.GetPropertyName(UINT32,PWSTR,UINT32)
ID2D1Properties::GetPropertyName(UINT32,PWSTR,UINT32) (d2d1_1.h)
Gets the property name that corresponds to the given index.
GetPropertyName
GetPropertyName method [Direct2D]
GetPropertyName method [Direct2D]
ID2D1Properties interface
ID2D1Properties interface [Direct2D]
GetPropertyName method
ID2D1Properties.GetPropertyName
ID2D1Properties.GetPropertyName(UINT32
PWSTR
UINT32)
ID2D1Properties::GetPropertyName
ID2D1Properties::GetPropertyName(UINT32
PWSTR
UINT32)
d2d1_1/ID2D1Properties::GetPropertyName
direct2d.id2d1properties_getpropertyname
direct2d\id2d1properties_getpropertyname.htm
Direct2D
36873134-cb0e-4ba2-bddb-95b2cc92afff
12/05/2018
GetPropertyName, GetPropertyName method [Direct2D], GetPropertyName method [Direct2D],ID2D1Properties interface, ID2D1Properties interface [Direct2D],GetPropertyName method, ID2D1Properties.GetPropertyName, ID2D1Properties.GetPropertyName(UINT32,PWSTR,UINT32), ID2D1Properties::GetPropertyName, ID2D1Properties::GetPropertyName(UINT32,PWSTR,UINT32), d2d1_1/ID2D1Properties::GetPropertyName, direct2d.id2d1properties_getpropertyname
d2d1_1.h
Windows
Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
D2d1.lib
D2d1.dll
Windows
19H1
ID2D1Properties::GetPropertyName
d2d1_1/ID2D1Properties::GetPropertyName
c++
APIRef
kbSyntax
COM
D2d1.dll
ID2D1Properties.GetPropertyName

ID2D1Properties::GetPropertyName(UINT32,PWSTR,UINT32)

-description

Gets the property name that corresponds to the given index.

-parameters

-param index

Type: UINT32

The index of the property for which the name is being returned.

-param name [out]

Type: PWSTR

When this method returns, contains the name being retrieved.

-param nameCount

Type: UINT32

The number of characters in the name buffer.

-returns

Type: HRESULT

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

HRESULT Description
S_OK No error occurred.
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) The supplied buffer was too small to accommodate the data.
D2DERR_INVALID_PROPERTY The specified property does not exist.

-remarks

This method returns an empty string if index is invalid. If the method returns RESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), name will still be filled and truncated.

-see-also

D2D1_PROPERTY

D2D1_SUBPROPERTY

ID2D1DeviceContext::CreateEffect

ID2D1Properties