Skip to content

Commit aa85d44

Browse files
committed
more human edits
1 parent 2430742 commit aa85d44

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

docs/core/unmanaged-api/debugging/clrcreateinstance-function.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: CLRCreateInstance Function"
3-
title: "CLRCreateInstance Function"
2+
description: "Learn more about: CLRCreateInstance Function for debugging"
3+
title: "CLRCreateInstance Function (debugging)"
44
ms.date: "03/25/2022"
55
api_name:
66
- "CLRCreateInstance"
@@ -19,7 +19,7 @@ helpviewer_keywords:
1919
topic_type:
2020
- "apiref"
2121
---
22-
# CLRCreateInstance function
22+
# CLRCreateInstance function (debugging)
2323

2424
Provides the [ICLRDebugging](../../../framework/unmanaged-api/debugging/iclrdebugging-interface.md) interface.
2525

docs/core/unmanaged-api/hosting/clrcreateinstance-function.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: CLRCreateInstance Function (.NET Framework)"
3-
title: "CLRCreateInstance Function for .NET Framework"
2+
description: "Learn more about: CLRCreateInstance Function (hosting)"
3+
title: "CLRCreateInstance Function for hosting"
44
ms.date: "03/30/2017"
55
api_name:
66
- "CLRCreateInstance"
@@ -19,7 +19,7 @@ helpviewer_keywords:
1919
topic_type:
2020
- "apiref"
2121
---
22-
# CLRCreateInstance Function (.NET Framework)
22+
# CLRCreateInstance Function (hosting)
2323

2424
Provides one of three interfaces: [ICLRMetaHost](iclrmetahost-interface.md), [ICLRMetaHostPolicy](iclrmetahostpolicy-interface.md), or [ICLRDebugging](../../../framework/unmanaged-api/debugging/iclrdebugging-interface.md).
2525

@@ -48,20 +48,20 @@ HRESULT CLRCreateInstance(
4848

4949
This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.
5050

51-
|HRESULT|Description|
52-
|-------------|-----------------|
53-
|S_OK|The method completed successfully.|
54-
|E_POINTER|`ppInterface` is null.|
51+
| HRESULT | Description |
52+
|-----------|------------------------------------|
53+
| S_OK | The method completed successfully. |
54+
| E_POINTER | `ppInterface` is null. |
5555

5656
## Remarks
5757

5858
The following table shows the supported combinations for `clsid` and `riid`.
5959

60-
|`clsid`|`riid`|
61-
|--------------|------------|
62-
|CLSID_CLRMetaHost|IID_ICLRMetaHost|
63-
|CLSID_CLRMetaHostPolicy|IID_ICLRMetaHostPolicy|
64-
|CLSID_CLRDebugging|IID_ICLRDebugging|
60+
| `clsid` | `riid` |
61+
|-------------------------|------------------------|
62+
| CLSID_CLRMetaHost | IID_ICLRMetaHost |
63+
| CLSID_CLRMetaHostPolicy | IID_ICLRMetaHostPolicy |
64+
| CLSID_CLRDebugging | IID_ICLRDebugging |
6565

6666
The following code shows how to use `CLRCreateInstance` to get all three interfaces:
6767

docs/core/unmanaged-api/hosting/createdebugginginterfacefromversion-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ topic_type:
1818
---
1919
# CreateDebuggingInterfaceFromVersion Function (.NET Framework)
2020

21-
Creates an [ICorDebug](../../../framework/debugging/icordebug-interface.md) object based on the specified version information.
21+
Creates an [ICorDebug](../debugging/icordebug-interface.md) object based on the specified version information.
2222

23-
This function is obsolete in the .NET Framework 4. Instead, to get an interface for the common language runtime (CLR) 2.0, use the [ICLRRuntimeInfo::GetInterface](iclrruntimeinfo-getinterface-method.md) method and specify the class identifier CLSID_CLRDebuggingLegacy and the interface identifier IID_ICorDebug. To get an interface for CLR 4 or later, call the [CLRCreateInstance](clrcreateinstance-function.md) function and specify the class identifier CLSID_CLRDebugging and the interface identifier IID_ICLRDebugging.
23+
This function is obsolete starting in .NET Framework 4. Instead, to get an interface for the common language runtime (CLR) 2.0, use the [ICLRRuntimeInfo::GetInterface](iclrruntimeinfo-getinterface-method.md) method and specify the class identifier `CLSID_CLRDebuggingLegacy` and the interface identifier `IID_ICorDebug`. To get an interface for CLR 4 or later, call the [CLRCreateInstance](clrcreateinstance-function.md) function and specify the class identifier `CLSID_CLRDebugging` and the interface identifier `IID_ICLRDebugging`.
2424

2525
## Syntax
2626

docs/framework/unmanaged-api/alink/addfile-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ HRESULT AddFile(
5252

5353
## Return Value
5454

55-
Returns S_OK if the method succeeds.
55+
Returns `S_OK` if the method succeeds.
5656

5757
## Requirements
5858

docs/framework/unmanaged-api/debugging/iclrdebugging-interface.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Provides methods that handle loading and unloading modules for debugging.
2222

2323
## Methods
2424

25-
|Method|Description|
26-
|------------|-----------------|
25+
| Method | Description |
26+
|--------|-------------|
2727
|[OpenVirtualProcess Method](iclrdebugging-openvirtualprocess-method.md)|Gets the "ICorDebugProcess" interface that corresponds to a common language runtime (CLR) module loaded in the process.|
2828
|[CanUnloadNow Method](iclrdebugging-canunloadnow-method.md)|Determines whether a library that was provided by an [ICLRDebuggingLibraryProvider](iclrdebugginglibraryprovider-interface.md) interface is still in use or can be unloaded.|
2929

0 commit comments

Comments
 (0)