Skip to content

Commit c30f48e

Browse files
mikeblomeColin Robertson
authored andcommitted
fix broken urls to previous-versions (#1552)
* first pass fixed all windows/desktop/api paths * some additional link fixes for previous-version urls
1 parent 75011b3 commit c30f48e

35 files changed

+76
-76
lines changed

docs/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ In general, the rules for allocating and releasing memory allocated for `BSTR`s
3131

3232
[Strings (ATL/MFC)](../atl-mfc-shared/strings-atl-mfc.md)<br/>
3333
[CStringT::AllocSysString](../atl-mfc-shared/reference/cstringt-class.md#allocsysstring)<br/>
34-
[SysAllocString](/previous-versions/windows/desktop/api/oleauto/nf-oleauto-sysallocstring)<br/>
35-
[SysFreeString](/previous-versions/windows/desktop/api/oleauto/nf-oleauto-sysfreestring)
34+
[SysAllocString](/windows/desktop/api/oleauto/nf-oleauto-sysallocstring)<br/>
35+
[SysFreeString](/windows/desktop/api/oleauto/nf-oleauto-sysfreestring)
3636

docs/atl-mfc-shared/reference/coledatetime-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class COleDateTime
6868

6969
`COleDateTime` does not have a base class.
7070

71-
It is one of the possible types for the [VARIANT](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagvariant) data type of OLE automation. A `COleDateTime` value represents an absolute date and time value.
71+
It is one of the possible types for the [VARIANT](/windows/desktop/api/oaidl/ns-oaidl-tagvariant) data type of OLE automation. A `COleDateTime` value represents an absolute date and time value.
7272

7373
The `DATE` type is implemented as a floating-point value. Days are measured from December 30, 1899, at midnight. The following table shows some dates and their associated values:
7474

@@ -792,19 +792,19 @@ These overloaded assignment operators copy the source date/time value into this
792792

793793
- **operator =(** `dateSrc` **)** The value and status of the operand are copied into this `COleDateTime` object.
794794

795-
- **operator =(** *varSrc* **)** If the conversion of the [VARIANT](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagvariant) value (or [COleVariant](../../mfc/reference/colevariant-class.md) object) to a date/time (VT_DATE) is successful, the converted value is copied into this `COleDateTime` object and its status is set to valid. If the conversion is not successful, the value of this object is set to zero (30 December 1899, midnight) and its status to invalid.
795+
- **operator =(** *varSrc* **)** If the conversion of the [VARIANT](/windows/desktop/api/oaidl/ns-oaidl-tagvariant) value (or [COleVariant](../../mfc/reference/colevariant-class.md) object) to a date/time (VT_DATE) is successful, the converted value is copied into this `COleDateTime` object and its status is set to valid. If the conversion is not successful, the value of this object is set to zero (30 December 1899, midnight) and its status to invalid.
796796

797797
- **operator =(** `dtSrc` **)** The `DATE` value is copied into this `COleDateTime` object and its status is set to valid.
798798

799799
- **operator =(** `timeSrc` **)** The `time_t` or `__time64_t` value is converted and copied into this `COleDateTime` object. If the conversion is successful, the status of this object is set to valid; if unsuccessful, it is set to invalid.
800800

801801
- **operator =(** *systimeSrc* **)** The [SYSTEMTIME](https://msdn.microsoft.com/library/windows/desktop/ms724950) value is converted and copied into this `COleDateTime` object. If the conversion is successful, the status of this object is set to valid; if unsuccessful, it is set to invalid.
802802

803-
- **operator =(** `udate` **)** The `UDATE` value is converted and copied into this `COleDateTime` object. If the conversion is successful, the status of this object is set to valid; if unsuccessful, it is set to invalid. A `UDATE` structure represents an "unpacked" date. See the function [VarDateFromUdate](/previous-versions/windows/desktop/api/oleauto/nf-oleauto-vardatefromudate) for more details.
803+
- **operator =(** `udate` **)** The `UDATE` value is converted and copied into this `COleDateTime` object. If the conversion is successful, the status of this object is set to valid; if unsuccessful, it is set to invalid. A `UDATE` structure represents an "unpacked" date. See the function [VarDateFromUdate](/windows/desktop/api/oleauto/nf-oleauto-vardatefromudate) for more details.
804804

805805
- **operator =(** `filetimeSrc` **)** The [FILETIME](https://msdn.microsoft.com/library/windows/desktop/ms724284) value is converted and copied into this `COleDateTime` object. If the conversion is successful, the status of this object is set to valid; otherwise it is set to invalid. `FILETIME` uses Universal Coordinated Time (UTC), so if you pass a UTC time in the structure, your results will be converted from UTC time to local time, and will be stored as variant time. This behavior is the same as in Visual C++ 6.0 and Visual C++.NET 2003 SP2. See [File Times](/windows/desktop/SysInfo/file-times) in the Windows SDK for more information.
806806

807-
For more information, see the [VARIANT](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagvariant) entry in the Windows SDK.
807+
For more information, see the [VARIANT](/windows/desktop/api/oaidl/ns-oaidl-tagvariant) entry in the Windows SDK.
808808

809809
For more information on the `time_t` data type, see the [time](../../c-runtime-library/reference/time-time32-time64.md) function in the *Run-Time Library Reference*.
810810

@@ -1047,7 +1047,7 @@ See the following table for bounds for the parameter values:
10471047
|*nMin*|0 - 59|
10481048
|*nSec*|0 - 59|
10491049

1050-
If the day of the month overflows, it is converted to the correct day of the next month and the month and/or year is incremented accordingly. A day value of zero indicates the last day of the previous month. The behavior is the same as [SystemTimeToVariantTime](/previous-versions/windows/desktop/api/oleauto/nf-oleauto-systemtimetovarianttime).
1050+
If the day of the month overflows, it is converted to the correct day of the next month and the month and/or year is incremented accordingly. A day value of zero indicates the last day of the previous month. The behavior is the same as [SystemTimeToVariantTime](/windows/desktop/api/oleauto/nf-oleauto-systemtimetovarianttime).
10511051

10521052
If the date or time value specified by the parameters is not valid, the status of this object is set to invalid and the value of this object is not changed.
10531053

docs/atl-mfc-shared/reference/cstringt-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ The newly allocated string.
210210

211211
In MFC programs, a [CMemoryException Class](../../mfc/reference/cmemoryexception-class.md) is thrown if insufficient memory exists. In ATL programs, a [CAtlException](../../atl/reference/catlexception-class.md) is thrown. This function is normally used to return strings for Automation.
212212

213-
Commonly, if this string is passed to a COM function as an [in] parameter, then this requires the caller to free the string. This can be done by using [SysFreeString](/previous-versions/windows/desktop/api/oleauto/nf-oleauto-sysfreestring), as described in the Windows SDK. For more information, see [Allocating and Releasing Memory for a BSTR](../../atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr.md).
213+
Commonly, if this string is passed to a COM function as an [in] parameter, then this requires the caller to free the string. This can be done by using [SysFreeString](/windows/desktop/api/oleauto/nf-oleauto-sysfreestring), as described in the Windows SDK. For more information, see [Allocating and Releasing Memory for a BSTR](../../atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr.md).
214214

215-
For more information about OLE allocation functions in Windows, see [SysAllocString](/previous-versions/windows/desktop/api/oleauto/nf-oleauto-sysallocstring) in the Windows SDK.
215+
For more information about OLE allocation functions in Windows, see [SysAllocString](/windows/desktop/api/oleauto/nf-oleauto-sysallocstring) in the Windows SDK.
216216

217217
### Example
218218

docs/atl/collection-classes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ The following classes provide support for arrays, lists, maps, and also traits m
2525

2626
- [CComQIPtrElementTraits](../atl/reference/ccomqiptrelementtraits-class.md) This class provides methods, static functions, and typedefs useful when creating collections of COM interface pointers.
2727

28-
- [CComSafeArray](../atl/reference/ccomsafearray-class.md) This class is a wrapper for the [SAFEARRAY Data Type](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagsafearray) structure.
28+
- [CComSafeArray](../atl/reference/ccomsafearray-class.md) This class is a wrapper for the [SAFEARRAY Data Type](/windows/desktop/api/oaidl/ns-oaidl-tagsafearray) structure.
2929

30-
- [CComSafeArrayBound](../atl/reference/ccomsafearraybound-class.md) This class is a wrapper for a [SAFEARRAYBOUND](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagsafearraybound) structure.
30+
- [CComSafeArrayBound](../atl/reference/ccomsafearraybound-class.md) This class is a wrapper for a [SAFEARRAYBOUND](/windows/desktop/api/oaidl/ns-oaidl-tagsafearraybound) structure.
3131

3232
- [CComUnkArray](../atl/reference/ccomunkarray-class.md) This class stores **IUnknown** pointers and is designed to be used as a parameter to the [IConnectionPointImpl](../atl/reference/iconnectionpointimpl-class.md) template class.
3333

docs/atl/error-information-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.assetid: ba40c8fb-81fd-4f61-8f47-fa2cb540e274
1010

1111
The following class indicates how error information is handled:
1212

13-
- [ISupportErrorInfoImpl](../atl/reference/isupporterrorinfoimpl-class.md) Determines whether the object supports the [IErrorInfo](/previous-versions/windows/desktop/api/oaidl/nn-oaidl-ierrorinfo) interface. `IErrorInfo` allows error information to be propagated back to the client.
13+
- [ISupportErrorInfoImpl](../atl/reference/isupporterrorinfoimpl-class.md) Determines whether the object supports the [IErrorInfo](/windows/desktop/api/oaidl/nn-oaidl-ierrorinfo) interface. `IErrorInfo` allows error information to be propagated back to the client.
1414

1515
## See Also
1616

docs/atl/reference/ccomsafearray-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The type of data to be stored in the array.
7070

7171
## Remarks
7272

73-
`CComSafeArray` provides a wrapper for the [SAFEARRAY Data Type](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagsafearray) class, making it a simple matter to create and manage single- and multidimensional arrays of almost any of the VARIANT-supported types.
73+
`CComSafeArray` provides a wrapper for the [SAFEARRAY Data Type](/windows/desktop/api/oaidl/ns-oaidl-tagsafearray) class, making it a simple matter to create and manage single- and multidimensional arrays of almost any of the VARIANT-supported types.
7474

7575
`CComSafeArray` simplifies passing arrays between processes, and in addition provides extra security by checking array index values against upper and lower bounds.
7676

@@ -632,7 +632,7 @@ The *bCopy* flag is taken into account when elements of type BSTR or VARIANT are
632632

633633
## See Also
634634

635-
[SAFEARRAY Data Type](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagsafearray)<br/>
635+
[SAFEARRAY Data Type](/windows/desktop/api/oaidl/ns-oaidl-tagsafearray)<br/>
636636
[CComSafeArray::Create](#create)<br/>
637637
[CComSafeArray::Destroy](#destroy)<br/>
638638
[Class Overview](../../atl/atl-class-overview.md)

docs/atl/reference/ccomsafearraybound-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.assetid: dd6299db-5f84-4630-bbf0-f5add5318437
77
---
88
# CComSafeArrayBound Class
99

10-
This class is a wrapper for a [SAFEARRAYBOUND](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagsafearraybound) structure.
10+
This class is a wrapper for a [SAFEARRAYBOUND](/windows/desktop/api/oaidl/ns-oaidl-tagsafearraybound) structure.
1111

1212
## Syntax
1313

docs/atl/reference/ccomvariant-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ HRESULT Attach(VARIANT* pSrc);
7676
### Parameters
7777
7878
*pSrc*<br/>
79-
[in] Points to the [VARIANT](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagvariant) to be attached to the object.
79+
[in] Points to the [VARIANT](/windows/desktop/api/oaidl/ns-oaidl-tagvariant) to be attached to the object.
8080
8181
### Return Value
8282
@@ -220,7 +220,7 @@ HRESULT Copy(const VARIANT* pSrc);
220220
### Parameters
221221
222222
*pSrc*<br/>
223-
[in] A pointer to the [VARIANT](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagvariant) to be copied.
223+
[in] A pointer to the [VARIANT](/windows/desktop/api/oaidl/ns-oaidl-tagvariant) to be copied.
224224
225225
### Return Value
226226
@@ -320,7 +320,7 @@ CComVariant& operator=(char cSrc) throw();
320320
### Parameters
321321
322322
*varSrc*<br/>
323-
[in] The `CComVariant` or [VARIANT](/previous-versions/windows/desktop/api/oaidl/ns-oaidl-tagvariant) to be assigned to the `CComVariant` object. The contents of the source variant are copied to the destination without conversion.
323+
[in] The `CComVariant` or [VARIANT](/windows/desktop/api/oaidl/ns-oaidl-tagvariant) to be assigned to the `CComVariant` object. The contents of the source variant are copied to the destination without conversion.
324324
325325
*bstrSrc*<br/>
326326
[in] The BSTR to be assigned to the `CComVariant` object. The type of the `CComVariant` object will be VT_BSTR.

docs/atl/reference/idispatchimpl-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ STDMETHOD(GetIDsOfNames)(
9898

9999
### Remarks
100100

101-
See [IDispatch::GetIDsOfNames](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-idispatch-getidsofnames) in the Windows SDK.
101+
See [IDispatch::GetIDsOfNames](/windows/desktop/api/oaidl/nf-oaidl-idispatch-getidsofnames) in the Windows SDK.
102102

103103
## <a name="gettypeinfo"></a> IDispatchImpl::GetTypeInfo
104104

@@ -113,7 +113,7 @@ STDMETHOD(GetTypeInfo)(
113113

114114
### Remarks
115115

116-
See [IDispatch::GetTypeInfo](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-idispatch-gettypeinfo) in the Windows SDK.
116+
See [IDispatch::GetTypeInfo](/windows/desktop/api/oaidl/nf-oaidl-idispatch-gettypeinfo) in the Windows SDK.
117117

118118
## <a name="gettypeinfocount"></a> IDispatchImpl::GetTypeInfoCount
119119

@@ -153,7 +153,7 @@ STDMETHOD(Invoke)(
153153

154154
### Remarks
155155

156-
See [IDispatch::Invoke](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-idispatch-invoke) in the Windows SDK.
156+
See [IDispatch::Invoke](/windows/desktop/api/oaidl/nf-oaidl-idispatch-invoke) in the Windows SDK.
157157

158158
## See Also
159159

docs/atl/reference/idispeventimpl-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ A standard HRESULT value.
136136

137137
## <a name="getidsofnames"></a> IDispEventImpl::GetIDsOfNames
138138

139-
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to [IDispatch::Invoke](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-idispatch-invoke).
139+
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to [IDispatch::Invoke](/windows/desktop/api/oaidl/nf-oaidl-idispatch-invoke).
140140

141141
```
142142
STDMETHOD(GetIDsOfNames)(
@@ -149,7 +149,7 @@ STDMETHOD(GetIDsOfNames)(
149149

150150
### Remarks
151151

152-
See [IDispatch::GetIDsOfNames](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-idispatch-getidsofnames) in the Windows SDK.
152+
See [IDispatch::GetIDsOfNames](/windows/desktop/api/oaidl/nf-oaidl-idispatch-getidsofnames) in the Windows SDK.
153153

154154
## <a name="gettypeinfo"></a> IDispEventImpl::GetTypeInfo
155155

@@ -174,7 +174,7 @@ STDMETHOD(GetTypeInfoCount)(UINT* pctinfo);
174174

175175
### Remarks
176176

177-
See [IDispatch::GetTypeInfoCount](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-idispatch-gettypeinfocount) in the Windows SDK.
177+
See [IDispatch::GetTypeInfoCount](/windows/desktop/api/oaidl/nf-oaidl-idispatch-gettypeinfocount) in the Windows SDK.
178178

179179
## <a name="getuserdefinedtype"></a> IDispEventImpl::GetUserDefinedType
180180

@@ -189,7 +189,7 @@ VARTYPE GetUserDefinedType(
189189
### Parameters
190190

191191
*pTI*<br/>
192-
[in] A pointer to the [ITypeInfo](/previous-versions/windows/desktop/api/oaidl/nn-oaidl-itypeinfo) interface containing the user-defined type.
192+
[in] A pointer to the [ITypeInfo](/windows/desktop/api/oaidl/nn-oaidl-itypeinfo) interface containing the user-defined type.
193193

194194
*hrt*<br/>
195195
[in] A handle to the type description to be retrieved.
@@ -200,7 +200,7 @@ The type of variant.
200200

201201
### Remarks
202202

203-
See [ITypeInfo::GetRefTypeInfo](/previous-versions/windows/desktop/api/oaidl/nf-oaidl-itypeinfo-getreftypeinfo).
203+
See [ITypeInfo::GetRefTypeInfo](/windows/desktop/api/oaidl/nf-oaidl-itypeinfo-getreftypeinfo).
204204

205205
## <a name="idispeventimpl"></a> IDispEventImpl::IDispEventImpl
206206

0 commit comments

Comments
 (0)