Skip to content

Commit 6a2827a

Browse files
authored
Add links for CoInitialize and CoUninitialize in Relog reference
1 parent 3a7d6ba commit 6a2827a

File tree

1 file changed

+1
-1
lines changed
  • docs/build-insights/reference/sdk/functions

1 file changed

+1
-1
lines changed

docs/build-insights/reference/sdk/functions/relog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ The input trace is passed through the analyzer group *`numberOfAnalysisPasses`*
7979
8080
The relogging of system events like CPU samples from within a relogger class isn't supported. Use the *`systemEventsRetentionFlags`* parameter to decide which system events to keep in the output trace.
8181
82-
The `relog` function depends on the COM API. You must call `CoInitialize` before you call `relog`. Call `CoUninitialize` once `relog` has finished. If you call `relog` without a call to `CoInitialize` first, you'll get error code 9 (`RESULT_CODE_FAILURE_START_RELOGGER`).
82+
The `relog` function depends on the COM API. You must call [`CoInitialize`](/windows/win32/api/objbase/nf-objbase-coinitialize) before you call `relog`. Call [`CoUninitialize`](/windows/win32/api/combaseapi/nf-combaseapi-couninitialize) once `relog` has finished. If you call `relog` without a call to `CoInitialize` first, you'll get error code 9 (`RESULT_CODE_FAILURE_START_RELOGGER`).
8383
8484
::: moniker-end

0 commit comments

Comments
 (0)