SdbFormatAttribute function

Converts the specified attribute data to XML format.

Syntax

BOOL WINAPI SdbFormatAttribute(
  _In_  PATTRINFO pAttrInfo,
  _Out_ LPTSTR    pchBuffer,
  _In_  DWORD     dwBufferSize
);

Parameters

pAttrInfo [in]

An ATTRINFO structure.

pchBuffer [out]

The output buffer.

dwBufferSize [in]

The size of the pchBuffer buffer, in characters.

Return value

The function returns TRUE on success or FALSE if the buffer is too small or the attribute is not found.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Apphelp.dll

See also

SdbGetFileAttributes