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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
DLL |
|
See also