This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 12/7/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.