Skip to content

Commit 4326303

Browse files
author
mikeblome
committed
converted msdn OLEDB and other misc links to site-relative
1 parent 59a6063 commit 4326303

File tree

102 files changed

+488
-488
lines changed

Some content is hidden

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

102 files changed

+488
-488
lines changed

docs/atl/atl-collection-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ ATL provides many classes for storing and accessing data. Which class you decide
104104

105105
- [DynamicConsumer Sample](../visual-cpp-samples.md)
106106

107-
- [UpdatePV Sample](../visual-cpp-samples.md)
107+
- [UpdatePV Sample](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Provider/UPDATEPV)
108108

109109
- [Marquee Sample](../visual-cpp-samples.md)
110110

docs/atl/reference/appearance-atl-control-wizard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ Sets additional behavior options for the control.
8686

8787
## See Also
8888
[ATL Control Wizard](../../atl/reference/atl-control-wizard.md)
89-
[SUBEDIT Sample: Superclasses a Standard Windows Control](http://msdn.microsoft.com/30e46bdc-ed92-417c-b6b8-359017265a7b)
89+
[SUBEDIT Sample: Superclasses a Standard Windows Control](https://github.com/Microsoft/VCSamples/tree/master/VC2008Samples/ATL/Controls/SubEdit)
9090

docs/atl/reference/atl-ole-db-consumer-wizard.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
2020
2121
## UIElement List
2222
**Data Source**
23-
The **Data Source** button lets you set up the specified data source using the specified OLE DB provider. When you click this button, the **Data Link Properties** dialog box appears. For more information on building connection strings and the **Data Link Properties** dialog box, see [Data Link API Overview](https://msdn.microsoft.com/library/ms718102.aspx) in the Windows SDK documentation.
23+
The **Data Source** button lets you set up the specified data source using the specified OLE DB provider. When you click this button, the **Data Link Properties** dialog box appears. For more information on building connection strings and the **Data Link Properties** dialog box, see [Data Link API Overview](/previous-versions/windows/desktop/ms718102\(v=vs.85\)) in the Windows SDK documentation.
2424

2525
> [!NOTE]
2626
> In previous releases, Shift-clicking the **Data Source** button opened a File Open dialog to allow you to select a Data Link (.udl) file. This functionality is no longer supported.
@@ -163,7 +163,7 @@ Click **OK** to finish. The **Select Database Object** dialog box appears. From
163163
Select this option if you want to use `CCommand` or `db_command` to create the command and command accessor class declarations. This is the default selection.
164164

165165
**Support**
166-
Select the check boxes to specify the kinds of updates to be supported in the consumer (the default is none). Each of the following will set [DBPROP_IRowsetChange](https://msdn.microsoft.com/library/ms715892.aspx) and the appropriate entries for [DBPROP_UPDATABILITY](https://msdn.microsoft.com/library/ms722676.aspx) in the property set map.
166+
Select the check boxes to specify the kinds of updates to be supported in the consumer (the default is none). Each of the following will set [DBPROP_IRowsetChange](/previous-versions/windows/desktop/ms715892\(v=vs.85\)) and the appropriate entries for [DBPROP_UPDATABILITY](/previous-versions/windows/desktop/ms722676\(v=vs.85\)) in the property set map.
167167

168168
**Change**
169169
Specifies that the consumer support updates of row data in the rowset.
@@ -177,4 +177,4 @@ Click **OK** to finish. The **Select Database Object** dialog box appears. From
177177
## See Also
178178
[ATL OLE DB Consumer](../../atl/reference/adding-an-atl-ole-db-consumer.md)
179179
[Adding Functionality with Code Wizards](../../ide/adding-functionality-with-code-wizards-cpp.md)
180-
[Connection Strings and Data Links (OLE DB)](https://msdn.microsoft.com/library/ms718376.aspx)
180+
[Connection Strings and Data Links (OLE DB)](/previous-versions/windows/desktop/ms718376\(v=vs.85\))

docs/atl/reference/atl-project-wizard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The Active Template Library (ATL) is a set of template-based C++ classes that si
4040

4141
- [Optimize the compiler for an ATL project](../../atl/reference/specifying-compiler-optimization-for-an-atl-project.md)
4242

43-
You can specify project properties (for example, [whether to link statically to the CRT](../../atl/programming-with-atl-and-c-run-time-code.md)) in the [Project Properties](../../ide/general-property-page-project.md) page, and you can set [build configurations](/visualstudio/ide/understanding-build-configurations) for an ATL project. See [Using Projects to Build Applications](http://msdn.microsoft.com/3339fa90-bac2-4b95-8361-662a2e0e7dfe) for more information.
43+
You can specify project properties (for example, [whether to link statically to the CRT](../../atl/programming-with-atl-and-c-run-time-code.md)) in the [Project Properties](../../ide/general-property-page-project.md) page, and you can set [build configurations](/visualstudio/ide/understanding-build-configurations) for an ATL project.
4444

4545
## See Also
4646
[Creating and Managing Visual C++ Projects](../../ide/creating-and-managing-visual-cpp-projects.md)

docs/atl/reference/catlmap-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,5 +653,5 @@ V m_value;
653653

654654
## See Also
655655
[Marquee Sample](../../visual-cpp-samples.md)
656-
[UpdatePV Sample](../../visual-cpp-samples.md)
656+
[UpdatePV Sample](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Provider/UPDATEPV)
657657
[Class Overview](../../atl/atl-class-overview.md)

docs/atl/reference/ccomaggobject-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CComAggObject : public IUnknown,
4141
|Name|Description|
4242
|----------|-----------------|
4343
|[CComAggObject::AddRef](#addref)|Increments the reference count on the aggregated object.|
44-
|[CComAggObject::CreateInstance](#createinstance)|This static function allows you to create a new **CComAggObject<** `contained` **>** object without the overhead of [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615).|
44+
|[CComAggObject::CreateInstance](#createinstance)|This static function allows you to create a new **CComAggObject<** `contained` **>** object without the overhead of [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance).|
4545
|[CComAggObject::FinalConstruct](#finalconstruct)|Performs final initialization of `m_contained`.|
4646
|[CComAggObject::FinalRelease](#finalrelease)|Performs final destruction of `m_contained`.|
4747
|[CComAggObject::QueryInterface](#queryinterface)|Retrieves a pointer to the requested interface.|
@@ -107,7 +107,7 @@ CComAggObject(void* pv);
107107
Frees all allocated resources, calls [FinalRelease](#finalrelease), and decrements the module lock count.
108108

109109
## <a name="createinstance"></a> CComAggObject::CreateInstance
110-
This static function allows you to create a new **CComAggObject<**`contained` **>** object without the overhead of [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615).
110+
This static function allows you to create a new **CComAggObject<**`contained` **>** object without the overhead of [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance).
111111

112112
```
113113
static HRESULT WINAPI CreateInstance(

docs/atl/reference/ccomcoclass-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static HRESULT CreateInstance(IUnknown* punkOuter, Q** pp);
7878
[out] The address of a pointer variable that receives the requested interface pointer if creation succeeds.
7979

8080
### Return Value
81-
A standard HRESULT value. See [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615) in the Windows SDK for a description of possible return values.
81+
A standard HRESULT value. See [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance) in the Windows SDK for a description of possible return values.
8282

8383
### Remarks
8484
Use the first overload of this function for typical object creation; use the second overload when you need to aggregate the object being created.
@@ -90,7 +90,7 @@ static HRESULT CreateInstance(IUnknown* punkOuter, Q** pp);
9090
Note that the interface *Q* must have an IID associated with it that can be retrieved using the [__uuidof](../../cpp/uuidof-operator.md) operator.
9191

9292
### Example
93-
In the following example, `CDocument` is a wizard-generated ATL class derived from `CComCoClass` that implements the `IDocument` interface. The class is registered in the object map with the OBJECT_ENTRY_NON_CREATEABLE_EX_AUTO macro so clients can't create instances of the document using [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615). `CApplication` is a CoClass that provides a method on one of its own COM interfaces to create instances of the document class. The code below shows how easy it to create instances of the document class using the `CreateInstance` member inherited from the `CComCoClass` base class.
93+
In the following example, `CDocument` is a wizard-generated ATL class derived from `CComCoClass` that implements the `IDocument` interface. The class is registered in the object map with the OBJECT_ENTRY_NON_CREATEABLE_EX_AUTO macro so clients can't create instances of the document using [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance). `CApplication` is a CoClass that provides a method on one of its own COM interfaces to create instances of the document class. The code below shows how easy it to create instances of the document class using the `CreateInstance` member inherited from the `CComCoClass` base class.
9494

9595
[!code-cpp[NVC_ATL_COM#11](../../atl/codesnippet/cpp/ccomcoclass-class_2.cpp)]
9696

docs/atl/reference/ccomobject-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ CComObject();
9595

9696

9797
## <a name="createinstance"></a> CComObject::CreateInstance
98-
This static function allows you to create a new **CComObject<**`Base`**>** object, without the overhead of [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615).
98+
This static function allows you to create a new **CComObject<**`Base`**>** object, without the overhead of [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance).
9999

100100
```
101101
static HRESULT WINAPI CreateInstance(CComObject<Base>** pp);

docs/atl/reference/ccompolyobject-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CComPolyObject : public IUnknown,
4141
|Name|Description|
4242
|----------|-----------------|
4343
|[CComPolyObject::AddRef](#addref)|Increments the object's reference count.|
44-
|[CComPolyObject::CreateInstance](#createinstance)|(Static) Allows you to create a new **CComPolyObject<** `contained` **>** object without the overhead of [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615).|
44+
|[CComPolyObject::CreateInstance](#createinstance)|(Static) Allows you to create a new **CComPolyObject<** `contained` **>** object without the overhead of [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance).|
4545
|[CComPolyObject::FinalConstruct](#finalconstruct)|Performs final initialization of `m_contained`.|
4646
|[CComPolyObject::FinalRelease](#finalrelease)|Performs final destruction of `m_contained`.|
4747
|[CComPolyObject::QueryInterface](#queryinterface)|Retrieves a pointer to the requested interface.|
@@ -115,7 +115,7 @@ CComPolyObject(void* pv);
115115
Frees all allocated resources, calls [FinalRelease](#finalrelease), and decrements the module lock count.
116116

117117
## <a name="createinstance"></a> CComPolyObject::CreateInstance
118-
Allows you to create a new **CComPolyObject<**`contained` **>** object without the overhead of [CoCreateInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615).
118+
Allows you to create a new **CComPolyObject<**`contained` **>** object without the overhead of [CoCreateInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance).
119119

120120
```
121121
static HRESULT WINAPI CreateInstance(

docs/atl/reference/ccomptrbase-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ HRESULT CoCreateInstance(
151151
CLSID associated with the data and code that will be used to create the object.
152152

153153
### Return Value
154-
Returns S_OK on success, or REGDB_E_CLASSNOTREG, CLASS_E_NOAGGREGATION, CO_E_CLASSSTRING or E_NOINTERFACE on failure. See [CoCreateClassInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615) and [CLSIDFromProgID](http://msdn.microsoft.com/library/windows/desktop/ms688386) for a description of these errors.
154+
Returns S_OK on success, or REGDB_E_CLASSNOTREG, CLASS_E_NOAGGREGATION, CO_E_CLASSSTRING or E_NOINTERFACE on failure. See [CoCreateClassInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance) and [CLSIDFromProgID](http://msdn.microsoft.com/library/windows/desktop/ms688386) for a description of these errors.
155155

156156
### Remarks
157-
If the first form of the method is called, [CLSIDFromProgID](http://msdn.microsoft.com/library/windows/desktop/ms688386) is used to recover the CLSID. Both forms then call [CoCreateClassInstance](http://msdn.microsoft.com/library/windows/desktop/ms686615).
157+
If the first form of the method is called, [CLSIDFromProgID](http://msdn.microsoft.com/library/windows/desktop/ms688386) is used to recover the CLSID. Both forms then call [CoCreateClassInstance](/windows/desktop/api/combaseapi/nf-combaseapi-cocreateinstance).
158158

159159
In debug builds, an assertion error will occur if [CComPtrBase::p](#p) is not equal to NULL.
160160

docs/atl/reference/cmessagemap-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ATL_NO_VTABLE CMessageMap
3535
## Remarks
3636
`CMessageMap` is an abstract base class that allows an object's message maps to be accessed by another object. In order for an object to expose its message maps, its class must derive from `CMessageMap`.
3737

38-
ATL uses `CMessageMap` to support contained windows and dynamic message map chaining. For example, any class containing a [CContainedWindow](../../atl/reference/ccontainedwindowt-class.md) object must derive from `CMessageMap`. The following code is taken from the [SUBEDIT](../../visual-cpp-samples.md) sample. Through [CComControl](../../atl/reference/ccomcontrol-class.md), the `CAtlEdit` class automatically derives from `CMessageMap`.
38+
ATL uses `CMessageMap` to support contained windows and dynamic message map chaining. For example, any class containing a [CContainedWindow](../../atl/reference/ccontainedwindowt-class.md) object must derive from `CMessageMap`. The following code is taken from the [SUBEDIT](https://github.com/Microsoft/VCSamples/tree/master/VC2008Samples/ATL/Controls/SubEdit) sample. Through [CComControl](../../atl/reference/ccomcontrol-class.md), the `CAtlEdit` class automatically derives from `CMessageMap`.
3939

4040
[!code-cpp[NVC_ATL_Windowing#90](../../atl/codesnippet/cpp/cmessagemap-class_1.h)]
4141

docs/atl/using-contained-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ATL implements contained windows with [CContainedWindowT](../atl/reference/ccont
2828

2929
[!code-cpp[NVC_ATL_Windowing#67](../atl/codesnippet/cpp/using-contained-windows_1.h)]
3030

31-
For more information about contained windows, see the [SUBEDIT](../visual-cpp-samples.md) sample.
31+
For more information about contained windows, see the [SUBEDIT](https://github.com/Microsoft/VCSamples/tree/master/VC2008Samples/ATL/Controls/SubEdit) sample.
3232

3333
## See Also
3434
[Window Classes](../atl/atl-window-classes.md)

0 commit comments

Comments
 (0)