Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SdbGetFileAttributes function

Retrieves the attribute data for the specified file.

Syntax


BOOL WINAPI SdbGetFileAttributes(
  _In_  LPCTSTR   lpwszFileName,
  _Out_ PATTRINFO *ppAttrInfo,
  _Out_ LPDWORD   lpdwAttrCount
);

Parameters

lpwszFileName [in]

The path to the file.

ppAttrInfo [out]

An array of ATTRINFO structures that contain the attribute data.

lpdwAttrCount [out]

The number of attributes.

Return value

The function returns TRUE on success or FALSE on failure.

Remarks

When you have finished with the data, free it using the SdbFreeFileAttributes function.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

DLL

Apphelp.dll

See also

SdbFormatAttribute
SdbFreeFileAttributes

 

 

Community Additions

ADD
Show:
© 2015 Microsoft