Skip to content

Commit c7f573e

Browse files
authored
Update UpdateRuntime.md
1 parent 6cb067e commit c7f573e

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

specs/UpdateRuntime.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ interface ICoreWebView2ExperimentalUpdateRuntimeResult : IUnknown {
148148
149149
/// The status for the UpdateRuntime operation.
150150
[propget] HRESULT Status(
151-
[ out, retval ] COREWEBVIEW2_UPDATE_RUNTIME_STATUS * status);
151+
[out, retval] COREWEBVIEW2_UPDATE_RUNTIME_STATUS* status);
152152
153153
/// The update error happened while trying to update Edge WebView2 Runtime.
154154
/// ExtendedError will be S_OK if Status is not `COREWEBVIEW2_UPDATE_RUNTIME_STATUS_FAILED`
@@ -169,7 +169,7 @@ interface ICoreWebView2ExperimentalUpdateRuntimeCompletedHandler : IUnknown {
169169
/// failure, like download failed, the error code would be presented as
170170
/// `ExtendedError` property of ICoreWebView2ExperimentalUpdateRuntimeResult.
171171
HRESULT Invoke([in] HRESULT errorCode,
172-
[in] ICoreWebView2ExperimentalUpdateRuntimeResult * result);
172+
[in] ICoreWebView2ExperimentalUpdateRuntimeResult* result);
173173
}
174174
175175
/// This interface is an extension of the ICoreWebView2Environment. An object
@@ -187,19 +187,19 @@ interface ICoreWebView2ExperimentalEnvironment3 : IUnknown {
187187
/// Even though the Edge WebView2 Runtime update is installed for the machine
188188
/// and available to all users, the update will happen silently and not show
189189
/// elevation prompt.
190-
/// This will not impact Edge browser installation.
190+
/// This will not impact Edge browser installations.
191191
/// The latest version can always be queried using the
192192
/// `GetAvailableCoreWebView2BrowserVersionString` API.
193193
/// The UpdateRuntime method is only supported for an installed Edge WebView2
194194
/// Runtime. When running a fixed version Edge WebView2 Runtime or non stable
195195
/// channel Edge browser, this API will return `HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED)`.
196196
/// There could only be one active UpdateRuntime operation in an app process,
197-
/// calling this API before completed handler for previous call is invoked will fail with
198-
/// `HRESULT_FROM_WIN32(ERROR_BUSY)`.
197+
/// and calling this API before the completed handler for a previous call is invoked
198+
/// will fail with `HRESULT_FROM_WIN32(ERROR_BUSY)`.
199199
/// Calling this API repeatedly in a short period of time, will also fail with
200200
/// `HRESULT_FROM_WIN32(ERROR_BUSY)`. To protect accidental abuse of the update
201201
/// service, the implementation throttles the calls of this API to 3 times within
202-
/// 5 minutes in a process. Throttling limit can change in the future.
202+
/// 5 minutes in a process. The exact throttling limit can change in the future.
203203
/// Edge update service can only support one update request at a time globally.
204204
/// If there is already an update operation running in the Edge update service,
205205
// UpdateRuntime request will result in the completed handler being invoked with a
@@ -213,11 +213,11 @@ interface ICoreWebView2ExperimentalEnvironment3 : IUnknown {
213213
/// case, the completed handler will be invoked with `S_OK` as `errorCode` and a
214214
/// result object with `Status` of COREWEBVIEW2_UPDATE_RUNTIME_STATUS_FAILED and
215215
/// `ExtendedError` as `E_ABORT`.
216+
///
217+
/// \snippet AppWindow.cpp UpdateRuntime
216218
HRESULT UpdateRuntime(
217-
[in] ICoreWebView2ExperimentalUpdateRuntimeCompletedHandler *
218-
handler);
219+
[in] ICoreWebView2ExperimentalUpdateRuntimeCompletedHandler* handler);
219220
}
220-
221221
```
222222
## WinRT
223223
```c#

0 commit comments

Comments
 (0)