Skip to content

Commit b22d503

Browse files
authored
Merge pull request MicrosoftDocs#91 from Microsoft/mblome-codeblocks
link fixes in mfc and fixes to code blocks that will silence false po…
2 parents 4ac0335 + 58045de commit b22d503

File tree

106 files changed

+621
-204
lines changed

Some content is hidden

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

106 files changed

+621
-204
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ CTime() throw();
213213
A [FILETIME](https://www.microsoftonedoc.com/#/organizations/e6f6a65cf14f462597b64ac058dbe1d0/projects/3fedad16-eaf1-41a6-8f96-0c1949c68f32/containers/a3daf831-1c5f-4bbe-964d-503870caf874/tocpaths/979ce746-dc17-4147-89f8-41d05c5fcc5f/locales/en-us) structure to be converted to a date/time value and copied into the new `CTime` object.
214214

215215
dbts
216-
A reference to a <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure containing the current local time.
216+
A reference to a DBTIMESTAMP structure containing the current local time.
217217

218218
### Remarks
219219
Each constructor is described below:
@@ -312,15 +312,15 @@ CString FormatGmt(UINT nFormatID) const;
312312
See the example for [CTime::Format](#ctime__format).
313313

314314
## <a name="ctime__getasdbtimestamp"></a> CTime::GetAsDBTIMESTAMP
315-
Call this member function to convert the time information stored in the `CTime` object to a Win32–compatible <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure.
315+
Call this member function to convert the time information stored in the `CTime` object to a Win32–compatible DBTIMESTAMP structure.
316316

317317
```
318318
bool GetAsDBTIMESTAMP(DBTIMESTAMP& dbts) const throw();
319319
```
320320

321321
### Parameters
322322
`dbts`
323-
A reference to a <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure containing the current local time.
323+
A reference to a DBTIMESTAMP structure containing the current local time.
324324

325325
### Return Value
326326
Nonzero if successful; otherwise 0.

docs/atl/reference/atl-path-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ATL provides the ATLPath class for manipulating paths in the form of [CPathT](cp
5353
|[ATLPath::IsPrefix](#atlpath__isprefix)|This function is an overloaded wrapper for [PathIsPrefix](http://msdn.microsoft.com/library/windows/desktop/bb773650).|
5454
|[ATLPath::IsRelative](#atlpath__isrelative)|This function is an overloaded wrapper for [PathIsRelative](http://msdn.microsoft.com/library/windows/desktop/bb773660).|
5555
|[ATLPath::IsRoot](#atlpath__isroot)|This function is an overloaded wrapper for [PathIsRoot](http://msdn.microsoft.com/library/windows/desktop/bb773674).|
56-
|[ATLPath::IsSameRoot](#atlpath__issameRoot)|This function is an overloaded wrapper for [PathIsSameRoot](http://msdn.microsoft.com/library/windows/desktop/bb773687).|
56+
|[ATLPath::IsSameRoot](#atlpath__issameroot)|This function is an overloaded wrapper for [PathIsSameRoot](http://msdn.microsoft.com/library/windows/desktop/bb773687).|
5757
|[ATLPath::IsUNC](#atlpath__isunc)|This function is an overloaded wrapper for [PathIsUNC](http://msdn.microsoft.com/library/windows/desktop/bb773712).|
5858
|[ATLPath::IsUNCServer](#atlpath__isuncserver)|This function is an overloaded wrapper for [PathIsUNCServer](http://msdn.microsoft.com/library/windows/desktop/bb773722).|
5959
|[ATLPath::IsUNCServerShare](#atlpath__isuncservershare)|This function is an overloaded wrapper for [PathIsUNCServerShare](http://msdn.microsoft.com/library/windows/desktop/bb773723).|

docs/atl/reference/catlarray-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ template<typename E, class ETraits = CElementTraits<E>> class CAtlArray
8181

8282
|||
8383
|-|-|
84-
|[operator &#91;&#93;](#operator__at)|Call this operator to return a reference to an element in the array.|
84+
|[operator &#91;&#93;](#catlarray__operator_at)|Call this operator to return a reference to an element in the array.|
8585

8686

8787
### Typedefs

docs/atl/reference/catlmap-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ void GetNextAssoc(
343343

344344
### Parameters
345345
`pos`
346-
The position counter, returned by a previous call to [CAtlMap::GetNextAssoc](#vclrfcatlmapgetnextassoc) or [CAtlMap::GetStartPosition](#catlmap__getstartposition).
346+
The position counter, returned by a previous call to [CAtlMap::GetNextAssoc](#catlmap__getnextassoc) or [CAtlMap::GetStartPosition](#catlmap__getstartposition).
347347

348348
`key`
349349
Template parameter specifying the type of the map's key.

docs/atl/reference/cautoptr-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ CAutoPtr<T>& operator= (CAutoPtr<TSrc>& p);
216216
### Example
217217
See the example in the [CAutoPtr Overview](../../atl/reference/cautoptr-class.md).
218218

219-
## <a name="cautoptr__operator_-_gt"></a> CAutoPtr::operator -&gt;
219+
## <a name="cautoptr__operator_ptr"></a> CAutoPtr::operator -&gt;
220220
The pointer-to-member operator.
221221

222222
```

docs/atl/reference/ccomcritseclock-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ CComCritSecLock(
9191
### Remarks
9292
Initializes the critical section object.
9393

94-
## <a name="ccomcritseclock___dtor"></a> CComCritSecLock::~CComCritSecLock
94+
## <a name="ccomcritseclock__dtor"></a> CComCritSecLock::~CComCritSecLock
9595
The destructor.
9696

9797
```

docs/atl/reference/ccomcurrency-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ bool operator>(const CComCurrency& cur) const;
520520
### Example
521521
[!code-cpp[NVC_ATL_Utilities#68](../../atl/codesnippet/cpp/ccomcurrency-class_16.cpp)]
522522

523-
## <a name="ccomcurrency__operator_gt__eq"></a> CComCurrency::operator &gt;=
523+
## <a name="ccomcurrency__operator_gt_eq"></a> CComCurrency::operator &gt;=
524524
This operator compares two `CComCurrency` objects to determine equality or the larger.
525525

526526
```

docs/atl/reference/ccomptrbase-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ template <class T> class CComPtrBase
8181
|[CComPtrBase::operator !](#ccomptrbase__operator_not)|The NOT operator.|
8282
|[CComPtrBase::operator &](#ccomptrbase__operator_amp)|The & operator.|
8383
|[CComPtrBase::operator *](#ccomptrbase__operator_star)|The * operator.|
84-
|[CComPtrBase::operator \<](#ccomptrbase__operator_div)|The less-than operator.|
84+
|[CComPtrBase::operator <](#ccomptrbase__operator lt)|The less-than operator.|
8585
|[CComPtrBase::operator ==](#ccomptrbase__operator_eq_eq)|The equality operator.|
86-
|[CComPtrBase::operator ->](#ccomptrbase__operator_-_gt)|The pointer-to-members operator.|
86+
|[CComPtrBase::operator ->](#ccomptrbase__operator_ptr)|The pointer-to-members operator.|
8787

8888
### Public Data Members
8989

@@ -272,7 +272,7 @@ bool operator== (T* pT) const throw();
272272
### Return Value
273273
Returns true if `CComPtrBase` and *pT* point to the same object, false otherwise.
274274

275-
## <a name="ccomptrbase__operator_ptr_"></a> CComPtrBase::operator -&gt;
275+
## <a name="ccomptrbase__operator_ptr"></a> CComPtrBase::operator -&gt;
276276

277277
The pointer-to-member operator.
278278

docs/atl/reference/ccomvariant-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CComVariant : public tagVARIANT
5454
|Name|Description|
5555
|----------|-----------------|
5656
|[CComVariant::CComVariant](#ccomvariant__ccomvariant)|The constructor.|
57-
|[CComVariant::~CComVariant](#ccomvariant__dtorccomvariant)|The destructor.|
57+
|[CComVariant::~CComVariant](#ccomvariant__dtor)|The destructor.|
5858
5959
### Public Methods
6060
@@ -179,7 +179,7 @@ CComVariant(const CComBSTR& bstrSrc);
179179
### Remarks
180180
The destructor manages cleanup by calling [CComVariant::Clear](#ccomvariant__clear).
181181
182-
## <a name="ccomvariant___dtorccomvariant"></a> CComVariant::~CComVariant
182+
## <a name="ccomvariant__dtor"></a> CComVariant::~CComVariant
183183
The destructor.
184184
185185
```

docs/atl/reference/cnonstatelessworker-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ template <class Worker> class CNonStatelessWorker
6666

6767
|Name|Description|
6868
|----------|-----------------|
69-
|[CNonStatelessWorker::Execute](#cnonstatelessworker__execute)|Implementation of [WorkerArchetype::Execute](workerarchetype-class.md#workerarchetype__execute).|
69+
|[CNonStatelessWorker::Execute](#cnonstatelessworker__execute)|Implementation of [WorkerArchetype::Execute](worker-archetype.md#workerarchetype__execute).|
7070
|[CNonStatelessWorker::Initialize](#cnonstatelessworker__initialize)|Implementation of [WorkerArchetype::Initialize](worker-archetype.md#workerarchetype__initialize).|
7171
|[CNonStatelessWorker::Terminate](#cnonstatelessworker__terminate)|Implementation of [WorkerArchetype::Terminate](worker-archetype.md#workerarchetype__terminate).|
7272

@@ -79,7 +79,7 @@ template <class Worker> class CNonStatelessWorker
7979
**Header:** atlutil.h
8080

8181
## <a name="cnonstatelessworker__execute"></a> CNonStatelessWorker::Execute
82-
Implementation of [WorkerArchetype::Execute](workerarchetype-class.md#workerarchetype__execute).
82+
Implementation of [WorkerArchetype::Execute](worker-archetype.md#workerarchetype__execute).
8383

8484

8585
```
@@ -90,7 +90,7 @@ void Execute(
9090
```
9191

9292
### Remarks
93-
This method creates an instance of the *Worker* class on the stack and calls [Initialize](worker-archetype.md#workerarchetype__initialize) on that object. If the initialization is successful, this method also calls [Execute](workerarchetype-class.md#workerarchetype__execute) and [Terminate](worker-archetype.md#workerarchetype__terminate) on the same object.
93+
This method creates an instance of the *Worker* class on the stack and calls [Initialize](worker-archetype.md#workerarchetype__initialize) on that object. If the initialization is successful, this method also calls [Execute](worker-archetype.md#workerarchetype__execute) and [Terminate](worker-archetype.md#workerarchetype__terminate) on the same object.
9494

9595

9696
## <a name="cnonstatelessworker__initialize"></a> CNonStatelessWorker::Initialize

0 commit comments

Comments
 (0)