Skip to content

Commit cd6822b

Browse files
committed
Update documentation for GetModuleFileNameA function
1 parent d386917 commit cd6822b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk-api-src/content/libloaderapi/nf-libloaderapi-getmodulefilenamea.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The <b>GetModuleFileName</b> function does not retrieve the path for modules th
7979

8080
A pointer to a buffer that receives the fully qualified path of the module. If the length of the path is less than the size that the <i>nSize</i> parameter specifies, the function succeeds and the path is returned as a null-terminated string.
8181

82-
If the length of the path exceeds the size that the <i>nSize</i> parameter specifies, the function succeeds and the string is truncated to <i>nSize</i> characters including the terminating null character.
82+
If the length of the path equals or exceeds the value specified by <i>nSize</i>, the function succeeds and the string is truncated to <i>nSize</i> characters (including the terminating null character).
8383

8484
<b>Windows XP:  </b>The string is truncated to <i>nSize</i> characters and is not null-terminated.
8585

0 commit comments

Comments
 (0)