ID2D1Properties::GetPropertyNameLength(UINT32) method

Gets the number of characters for the given property name.

Syntax


UINT32 GetPropertyNameLength(
  UINT32 index
) const;

Parameters

index

Type: UINT32

The index of the property name to retrieve.

Return value

Type: UINT32

This method returns the size in characters of the name corresponding to the given property index, or zero if the property index does not exist.

Remarks

The value returned by this method can be used to ensure that the buffer size for GetPropertyName is appropriate.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

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

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1Properties
ID2D1DeviceContext::CreateEffect
D2D1_PROPERTY
D2D1_SUBPROPERTY

 

 

Community Additions

ADD
Show:
© 2015 Microsoft