Skip to content

Commit f5ef732

Browse files
author
mtx48109
committed
cpp formatting review pr15
1 parent 4dd72c1 commit f5ef732

30 files changed

+63
-110
lines changed

docs/cpp/com-ptr-t-createinstance.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
2423
HRESULT CreateInstance(
2524
const CLSID& rclsid,
2625
IUnknown* pOuter=NULL,
@@ -65,5 +64,5 @@ HRESULT CreateInstance(
6564

6665
**END Microsoft Specific**
6766

68-
## See Also
67+
## See also
6968
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-detach.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
2423
Interface* Detach( ) throw( );
25-
2624
```
2725

2826
## Remarks
2927
Extracts and returns the encapsulated interface pointer, and then clears the encapsulated pointer storage to NULL. This removes the interface pointer from encapsulation. It is up to you to call `Release` on the returned interface pointer.
3028

3129
**END Microsoft Specific**
3230

33-
## See Also
31+
## See also
3432
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-extractors.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
2423
operator Interface*( ) const throw( ); 
2524
operator Interface&( ) const; 
2625
Interface& operator*( ) const; 
@@ -45,5 +44,5 @@ operator bool( ) const throw( );
4544

4645
**END Microsoft Specific**
4746

48-
## See Also
47+
## See also
4948
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-getactiveobject.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
24-
HRESULT GetActiveObject(
23+
HRESULT GetActiveObject(
2524
const CLSID& rclsid
2625
) throw( );
2726
HRESULT GetActiveObject(
@@ -43,7 +42,7 @@ HRESULT GetActiveObject(
4342
A multibyte string, using the ANSI code page, that holds either a `CLSID` (starting with "**{**") or a `ProgID`.
4443

4544
## Remarks
46-
These member functions call `GetActiveObject` to retrieve a pointer to a running object that has been registered with OLE and then queries for this smart pointer's interface type. The resulting pointer is then encapsulated within this `_com_ptr_t` object. `Release` is called to decrement the reference count for the previously encapsulated pointer. This routine returns the HRESULT to indicate success or failure.
45+
These member functions call **GetActiveObject** to retrieve a pointer to a running object that has been registered with OLE and then queries for this smart pointer's interface type. The resulting pointer is then encapsulated within this `_com_ptr_t` object. `Release` is called to decrement the reference count for the previously encapsulated pointer. This routine returns the HRESULT to indicate success or failure.
4746

4847
- **GetActiveObject(** `rclsid` **)** Attaches to an existing instance of an object given a `CLSID`.
4948

@@ -53,5 +52,5 @@ HRESULT GetActiveObject(
5352

5453
**END Microsoft Specific**
5554

56-
## See Also
55+
## See also
5756
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-getinterfaceptr.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
2423
Interface* GetInterfacePtr( ) const throw( ); 
2524
Interface*& GetInterfacePtr() throw();
2625
```
@@ -30,5 +29,5 @@ Interface*& GetInterfacePtr() throw();
3029

3130
**END Microsoft Specific**
3231

33-
## See Also
32+
## See also
3433
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-member-functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# _com_ptr_t Member Functions
15-
For information about the `_com_ptr_t` member functions, see [_com_ptr_t Class](../cpp/com-ptr-t-class.md).
15+
For information about the **_com_ptr_t** member functions, see [_com_ptr_t Class](../cpp/com-ptr-t-class.md).
1616

17-
## See Also
17+
## See also
1818
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-operator-equal.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
2423
template<typename _OtherIID> 
2524
_com_ptr_t& operator=( const _com_ptr_t<_OtherIID>& p );
2625
@@ -62,5 +61,5 @@ _com_ptr_t& operator=( const _variant_t& varSrc );
6261

6362
**END Microsoft Specific**
6463

65-
## See Also
64+
## See also
6665
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ ms.workload: ["cplusplus"]
1414
# _com_ptr_t Operators
1515
For information about the `_com_ptr_t` operators, see [_com_ptr_t Class](../cpp/com-ptr-t-class.md).
1616

17-
## See Also
17+
## See also
1818
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-queryinterface.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ ms.workload: ["cplusplus"]
1515
# _com_ptr_t::QueryInterface
1616
**Microsoft Specific**
1717

18-
Calls the `QueryInterface` member function of `IUnknown` on the encapsulated interface pointer.
18+
Calls the **QueryInterface** member function of `IUnknown` on the encapsulated interface pointer.
1919

2020
## Syntax
2121

2222
```
23-
2423
template<typename _InterfaceType> HRESULT QueryInterface (
2524
const IID& iid,
2625
_InterfaceType*& p
@@ -43,5 +42,5 @@ template<typename _InterfaceType> HRESULT QueryInterface (
4342

4443
**END Microsoft Specific**
4544

46-
## See Also
45+
## See also
4746
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

docs/cpp/com-ptr-t-relational-operators.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ms.workload: ["cplusplus"]
2020
## Syntax
2121

2222
```
23-
2423
template<typename _OtherIID> 
2524
bool operator==( const _com_ptr_t<_OtherIID>& p );
2625
@@ -94,5 +93,5 @@ bool operator>=( _InterfaceType* p );
9493

9594
**END Microsoft Specific**
9695

97-
## See Also
96+
## See also
9897
[_com_ptr_t Class](../cpp/com-ptr-t-class.md)

0 commit comments

Comments
 (0)