Skip to content

Commit e1564a7

Browse files
Merge pull request #2022 from autoantwort/fix-return-type
GetDiskSpaceInformationW: Fix wrong return values
2 parents 4968062 + b22a00c commit e1564a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk-api-src/content/fileapi/nf-fileapi-getdiskspaceinformationw.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ A [**DISK_SPACE_INFORMATION**](ns-fileapi-disk_space_information.md) structure c
6464

6565
## -returns
6666

67-
Returns `TRUE` if the function succeeds, or `FALSE` if it fails. To get extended error information, call the `GetLastError` function.
67+
Returns `S_OK` if the function succeeds, or a value from [Common HRESULT Values](/windows/win32/seccrypto/common-hresult-values) if it fails. You can call [GetLastError](/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror) for extended error information.
6868

6969
## -remarks
7070

0 commit comments

Comments
 (0)