Skip to content

Commit 3dc318b

Browse files
author
Colin Robertson
authored
Merge pull request #4143 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main)
2 parents c21c7d7 + a915a5a commit 3dc318b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)