Skip to content

Commit 00a29c5

Browse files
author
mikeblome
committed
manual fixes
1 parent 7d69483 commit 00a29c5

File tree

51 files changed

+116
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+116
-120
lines changed

docs/atl/aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ There are times when an object's implementor would like to take advantage of the
2020

2121
## See Also
2222
[Introduction to COM](../atl/introduction-to-com.md)
23-
[Reusing Objects](https://msdn.microsoft.com/library/windows/desktop/ms678443)
23+
[Reusing Objects](/windows/desktop/com/reusing-objects)
2424

docs/atl/atl-collections-and-enumerators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A `collection` is a COM object that provides an interface that allows access to
1818

1919
An `enumerator` is a COM object that provides an interface for iterating through items in a collection. Enumerator interfaces provide serial access to the elements of a collection via four required methods: `Next`, `Skip`, `Reset`, and `Clone`.
2020

21-
You can learn more about enumerator interfaces by reading about the archetypal (but entirely imaginary) [IEnumXXXX](https://msdn.microsoft.com/library/ms680089.aspx) interface.
21+
You can learn more about enumerator interfaces by reading reference content such as [IEnumString](/windows/desktop/api/objidl/nn-objidl-ienumstring) interface.
2222

2323
## In This Section
2424
[ATL Collection and Enumerator Classes](../atl/atl-collection-and-enumerator-classes.md)

docs/atl/atl-utilities-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ ATL provides code for manipulating paths and URLs in the form of [CPathT](../atl
5353
|[AtlUnescapeUrl](../atl/reference/atl-http-utility-functions.md#atlunescapeurl)|Call this function to convert escaped characters back to their original values.|
5454
|[SystemTimeToHttpDate](../atl/reference/atl-http-utility-functions.md#systemtimetohttpdate)|Call this function to convert a system time to a string in a format suitable for using in HTTP headers.|
5555

56-
|[ATLPath::AddBackslash](../atl/reference/atl-path-functions.md#addbackslash)|This function is an overloaded wrapper for [PathAddBackslash](https://msdn.microsoft.com/library/windows/desktop/bb773561).|
56+
|[ATLPath::AddBackslash](../atl/reference/atl-path-functions.md#addbackslash)|This function is an overloaded wrapper for [PathAddBackslash](/windows/desktop/api/shlwapi/nf-shlwapi-pathaddbackslasha
57+
).|
5758
|[ATLPath::AddExtension](../atl/reference/atl-path-functions.md#addextension)|This function is an overloaded wrapper for [PathAddExtension](https://msdn.microsoft.com/library/windows/desktop/bb773563).|
5859
|[ATLPath::Append](../atl/reference/atl-path-functions.md#append)|This function is an overloaded wrapper for [PathAppend](https://msdn.microsoft.com/library/windows/desktop/bb773565).|
5960
|[ATLPath::BuildRoot](../atl/reference/atl-path-functions.md#buildroot)|This function is an overloaded wrapper for [PathBuildRoot](https://msdn.microsoft.com/library/windows/desktop/bb773567).|

docs/atl/reference/atl-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ The Active Template Library (ATL) includes the following classes and structs. To
197197
|[IOleObjectImpl](../../atl/reference/ioleobjectimpl-class.md)|This class implements `IUnknown` and is the principal interface through which a container communicates with a control.|atlctl.h|
198198
|[IPerPropertyBrowsingImpl](../../atl/reference/iperpropertybrowsingimpl-class.md)|This class implements `IUnknown` and allows a client to access the information in an object's property pages.|atlctl.h|
199199
|[IPersistPropertyBagImpl](../../atl/reference/ipersistpropertybagimpl-class.md)|This class implements `IUnknown` and allows an object to save its properties to a client-supplied property bag.|atlcom.h|
200-
|[IPersistStorageImpl](../../atl/reference/ipersiststorageimpl-class.md)|This class implements the [IPersistStorage](https://msdn.microsoft.com/library/windows/desktop/ms679731) interface.|atlcom.h|
200+
|[IPersistStorageImpl](../../atl/reference/ipersiststorageimpl-class.md)|This class implements the [IPersistStorage](/windows/desktop/api/objidl/nn-objidl-ipersiststorage) interface.|atlcom.h|
201201
|[IPersistStreamInitImpl](../../atl/reference/ipersiststreaminitimpl-class.md)|This class implements `IUnknown` and provides a default implementation of the [IPersistStreamInit](https://msdn.microsoft.com/library/windows/desktop/ms682273) interface.|atlcom.h|
202202
|[IPointerInactiveImpl](../../atl/reference/ipointerinactiveimpl-class.md)|This class implements `IUnknown` and the [IPointerInactive](https://msdn.microsoft.com/library/windows/desktop/ms693712) interface methods.|atlctl.h|
203203
|[IPropertyNotifySinkCP](../../atl/reference/ipropertynotifysinkcp-class.md)|This class exposes the [IPropertyNotifySink](https://msdn.microsoft.com/library/windows/desktop/ms692638) interface as an outgoing interface on a connectable object.|atlctl.h|

docs/atl/reference/ccomcontrolbase-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ CComPtr<IDataAdviseHolder>
973973
> [!NOTE]
974974
> To use this data member within your control class, you must declare it as a data member in your control class. Your control class will not inherit this data member from the base class because it is declared within a union in the base class.
975975
976-
A data object is a control that can transfer data and that implements [IDataObject](https://msdn.microsoft.com/library/windows/desktop/ms688421), whose methods specify the format and transfer medium of the data.
976+
A data object is a control that can transfer data and that implements [IDataObject](/windows/desktop/api/objidl/nn-objidl-idataobject), whose methods specify the format and transfer medium of the data.
977977

978978
The interface `m_spDataAdviseHolder` implements the [IDataObject::DAdvise](https://msdn.microsoft.com/library/windows/desktop/ms692579) and [IDataObject::DUnadvise](https://msdn.microsoft.com/library/windows/desktop/ms692448) methods to establish and delete advisory connections to the container. The control's container must implement an advise sink by supporting the [IAdviseSink](https://msdn.microsoft.com/library/windows/desktop/ms692513) interface.
979979

docs/atl/reference/ccomenum-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ATL_NO_VTABLE CComEnum : public CComEnumImpl<Base, piid,
2828

2929
#### Parameters
3030
*Base*
31-
A COM enumerator ( [IEnumXXXX](https://msdn.microsoft.com/library/ms680089.aspx)) interface.
31+
A COM enumerator interface. See [IEnumString](/windows/desktop/api/objidl/nn-objidl-ienumstring) for an example.
3232

3333
*piid*
3434
A pointer to the interface ID of the enumerator interface.

docs/atl/reference/ccomenumimpl-class.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ATL_NO_VTABLE CComEnumImpl : public Base
2525

2626
#### Parameters
2727
*Base*
28-
A COM enumerator ( [IEnumXXXX](https://msdn.microsoft.com/library/ms680089.aspx)) interface.
28+
A COM enumerator interface. See [IEnumString](/windows/desktop/api/objidl/nn-objidl-ienumstring) for an example.
2929

3030
*piid*
3131
A pointer to the interface ID of the enumerator interface.
@@ -49,11 +49,11 @@ class ATL_NO_VTABLE CComEnumImpl : public Base
4949

5050
|Name|Description|
5151
|----------|-----------------|
52-
|[CComEnumImpl::Clone](#clone)|The implementation of [IEnumXXXX::Clone](https://msdn.microsoft.com/library/ms690336.aspx).|
52+
|[CComEnumImpl::Clone](#clone)|The implementation of the **Clone** enumeration interface method.|
5353
|[CComEnumImpl::Init](#init)|Initializes the enumerator.|
54-
|[CComEnumImpl::Next](#next)|The implementation of [IEnumXXXX::Next](https://msdn.microsoft.com/library/ms695273.aspx).|
55-
|[CComEnumImpl::Reset](#reset)|The implementation of [IEnumXXXX::Reset](https://msdn.microsoft.com/library/ms693414.aspx).|
56-
|[CComEnumImpl::Skip](#skip)|The implementation of [IEnumXXXX::Skip](https://msdn.microsoft.com/library/ms690392.aspx).|
54+
|[CComEnumImpl::Next](#next)|The implementation of **Next**.|
55+
|[CComEnumImpl::Reset](#reset)|The implementation of **Reset**.|
56+
|[CComEnumImpl::Skip](#skip)|The implementation of **Skip**.|
5757

5858
### Public Data Members
5959

@@ -66,7 +66,7 @@ class ATL_NO_VTABLE CComEnumImpl : public Base
6666
|[CComEnumImpl::m_spUnk](#m_spunk)|The `IUnknown` pointer of the object supplying the collection being enumerated.|
6767

6868
## Remarks
69-
`CComEnumImpl` provides the implementation for a COM enumerator interface where the items being enumerated are stored in an array. This class is analogous to the `IEnumOnSTLImpl` class, which provides an implementation of an enumerator interface based on a C++ Standard Library container.
69+
See [IEnumString](/windows/desktop/api/objidl/nn-objidl-ienumstring) for an example of method implementations. `CComEnumImpl` provides the implementation for a COM enumerator interface where the items being enumerated are stored in an array. This class is analogous to the `IEnumOnSTLImpl` class, which provides an implementation of an enumerator interface based on a C++ Standard Library container.
7070

7171
> [!NOTE]
7272
> For details on further differences between `CComEnumImpl` and `IEnumOnSTLImpl`, see [CComEnumImpl::Init](#init).
@@ -152,7 +152,7 @@ enum CComEnumFlags
152152
> The prototype of this method specifies the array elements as being of type `T`, where `T` was defined as a template parameter to the class. This is the same type that is exposed by means of the COM interface method [CComEnumImpl::Next](#next). The implication of this is that, unlike [IEnumOnSTLImpl](../../atl/reference/ienumonstlimpl-class.md), this class does not support different storage and exposed data types. The data type of elements in the array must be the same as the data type exposed by means of the COM interface.
153153
154154
## <a name="clone"></a> CComEnumImpl::Clone
155-
This method provides the implementation of the [IEnumXXXX::Clone](https://msdn.microsoft.com/library/ms690336.aspx) method by creating an object of type `CComEnum`, initializing it with the same array and iterator used by the current object, and returning the interface on the newly created object.
155+
This method provides the implementation of the **Clone** method by creating an object of type `CComEnum`, initializing it with the same array and iterator used by the current object, and returning the interface on the newly created object.
156156

157157
```
158158
STDMETHOD(Clone)(Base** ppEnum);
@@ -204,7 +204,7 @@ DWORD m_dwFlags;
204204
```
205205

206206
## <a name="next"></a> CComEnumImpl::Next
207-
This method provides the implementation of the [IEnumXXXX::Next](https://msdn.microsoft.com/library/ms695273.aspx) method.
207+
This method provides the implementation of the **Next** method.
208208

209209
```
210210
STDMETHOD(Next)(ULONG celt, T* rgelt, ULONG* pceltFetched);
@@ -224,7 +224,7 @@ STDMETHOD(Next)(ULONG celt, T* rgelt, ULONG* pceltFetched);
224224
A standard HRESULT value.
225225

226226
## <a name="reset"></a> CComEnumImpl::Reset
227-
This method provides the implementation of the [IEnumXXXX::Reset](https://msdn.microsoft.com/library/ms693414.aspx) method.
227+
This method provides the implementation of the **Reset** method.
228228

229229
```
230230
STDMETHOD(Reset)(void);
@@ -234,7 +234,7 @@ STDMETHOD(Reset)(void);
234234
A standard HRESULT value.
235235

236236
## <a name="skip"></a> CComEnumImpl::Skip
237-
This method provides the implementation of the [IEnumXXXX::Skip](https://msdn.microsoft.com/library/ms690392.aspx) method.
237+
This method provides the implementation of the **Skip** method.
238238

239239
```
240240
STDMETHOD(Skip)(ULONG celt);

docs/atl/reference/ccomenumonstl-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ATL_NO_VTABLE CComEnumOnSTL : public IEnumOnSTLImpl<Base, piid,
2929

3030
#### Parameters
3131
*Base*
32-
A COM enumerator ( [IEnumXXXX](https://msdn.microsoft.com/library/ms680089.aspx)) interface.
32+
A COM enumerator. See [IEnumString](/windows/desktop/api/objidl/nn-objidl-ienumstring) for an example.
3333

3434
*piid*
3535
A pointer to the interface ID of the enumerator interface.

docs/atl/reference/cwindow-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ BOOL OpenClipboard() throw();
15511551
```
15521552

15531553
### Remarks
1554-
See [OpenClipboard](https://msdn.microsoft.com/library/windows/desktop/ms649048) in the Windows SDK.
1554+
See [OpenClipboard](/windows/desktop/api/winuser/nf-winuser-openclipboard) in the Windows SDK.
15551555

15561556
## <a name="operator_hwnd"></a> CWindow::operator HWND
15571557
Converts a `CWindow` object to an HWND.

docs/atl/reference/idataobjectimpl-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class IDataObjectImpl
4747
|[IDataObjectImpl::SetData](#setdata)|Transfers data from the client to the data object. The ATL implementation returns E_NOTIMPL.|
4848

4949
## Remarks
50-
The [IDataObject](https://msdn.microsoft.com/library/windows/desktop/ms688421) interface provides methods to support Uniform Data Transfer. `IDataObject` uses the standard format structures [FORMATETC](https://msdn.microsoft.com/library/windows/desktop/ms682177) and [STGMEDIUM](https://msdn.microsoft.com/library/windows/desktop/ms683812) to retrieve and store data.
50+
The [IDataObject](/windows/desktop/api/objidl/nn-objidl-idataobject) interface provides methods to support Uniform Data Transfer. `IDataObject` uses the standard format structures [FORMATETC](https://msdn.microsoft.com/library/windows/desktop/ms682177) and [STGMEDIUM](https://msdn.microsoft.com/library/windows/desktop/ms683812) to retrieve and store data.
5151

5252
`IDataObject` also manages connections to advise sinks to handle data change notifications. In order for the client to receive data change notifications from the data object, the client must implement the [IAdviseSink](https://msdn.microsoft.com/library/windows/desktop/ms692513) interface on an object called an advise sink. When the client then calls `IDataObject::DAdvise`, a connection is established between the data object and the advise sink.
5353

@@ -115,7 +115,7 @@ HRESULT EnumFormatEtc(
115115
```
116116

117117
### Remarks
118-
See [IDataObject::EnumFormatEtc](https://msdn.microsoft.com/library/windows/desktop/ms683979) in the Windows SDK.
118+
See [IDataObject::EnumFormatEtc](/windows/desktop/api/objidl/nf-objidl-idataobject-enumformatetc) in the Windows SDK.
119119

120120
### Return Value
121121
Returns E_NOTIMPL.
@@ -155,7 +155,7 @@ HRESULT GetData(
155155
### Remarks
156156
The *pformatetcIn* parameter must specify a storage medium type of TYMED_MFPICT.
157157

158-
See [IDataObject::GetData](https://msdn.microsoft.com/library/windows/desktop/ms678431) in the Windows SDK.
158+
See [IDataObject::GetData](windows/desktop/api/objidl/nf-objidl-idataobject-getdata) in the Windows SDK.
159159

160160
## <a name="getdatahere"></a> IDataObjectImpl::GetDataHere
161161
Similar to `GetData`, except the client must allocate the `STGMEDIUM` structure.

0 commit comments

Comments
 (0)