Skip to content

Commit 3468157

Browse files
Merge pull request #2038 from justanotheranonymoususer/patch-6
Update nf-psapi-getmappedfilenamew.md
2 parents f430dd7 + 83dadee commit 3468157

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sdk-api-src/content/psapi/nf-psapi-getmappedfilenamew.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ The size of the <i>lpFilename</i> buffer, in characters.
8282

8383
## -returns
8484

85-
If the function succeeds, the return value specifies the length of the string copied to the buffer, in characters.
85+
If the function succeeds, the return value is the length of the string that is copied to the buffer, in characters, not including the terminating null character. If the buffer is too small to hold the module name, the string is truncated to nSize characters (including the terminating null character), the function returns _nSize_, and the the last error is set to **ERROR_INSUFFICIENT_BUFFER**.
8686

87-
If the function fails, the return value is zero. To get extended error information, call
88-
<a href="/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.
87+
If the function fails, the return value is zero. To get extended error information, call <a href="/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.
8988

9089
## -remarks
9190

0 commit comments

Comments
 (0)