Skip to content

Commit a915a5a

Browse files
authored
Merge pull request #3741 from adr26/patch-2
Fix typo in _CrtSetReportHook2 parameter name
2 parents 073786e + c0e274b commit a915a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/c-runtime-library/reference/crtsetreporthook2-crtsetreporthookw2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Use the following prototype for the narrow-character report hooks:
5959
int YourReportHook( int reportType, char *message, int *returnValue );
6060
```
6161

62-
These functions validate their parameters. If *mode* or **pfnNewNook** is invalid, these functions invoke the invalid parameter handler, as described in [Parameter Validation](../../c-runtime-library/parameter-validation.md). If execution is allowed to continue, these functions set **errno** to **EINVAL** and return -1.
62+
These functions validate their parameters. If *mode* or *pfnNewHook* is invalid, these functions invoke the invalid parameter handler, as described in [Parameter Validation](../../c-runtime-library/parameter-validation.md). If execution is allowed to continue, these functions set **errno** to **EINVAL** and return -1.
6363

6464
> [!NOTE]
6565
> If your application is compiled with **/clr** and the reporting function is called after the application has exited main, the CLR will throw an exception if the reporting function calls any CRT functions.

0 commit comments

Comments
 (0)