Skip to content

Fix some unclosed links #5222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs/atl/atl-utilities-reference.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
description: "Learn more about: ATL utilities reference"
title: "ATL utilities reference"
description: "Learn more about: ATL utilities reference"
ms.date: "11/04/2016"
ms.assetid: dd8a2888-34f4-461e-9bf4-834218f9b95b
---
# ATL utilities reference

Expand Down Expand Up @@ -47,8 +46,7 @@ ATL provides code for manipulating paths and URLs in the form of [CPathT](../atl
| [AtlIsUnsafeUrlChar](../atl/reference/atl-http-utility-functions.md#atlisunsafeurlchar) | Call this function to find out whether a character is safe for use in a URL. |
| [AtlUnescapeUrl](../atl/reference/atl-http-utility-functions.md#atlunescapeurl) | Call this function to convert escaped characters back to their original values. |
| [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. |
| [ATLPath::AddBackslash](../atl/reference/atl-path-functions.md#addbackslash) | This function is an overloaded wrapper for [PathAddBackslash](/windows/desktop/api/shlwapi/nf-shlwapi-pathaddbackslasha |
| ). |
| [ATLPath::AddBackslash](../atl/reference/atl-path-functions.md#addbackslash) | This function is an overloaded wrapper for [PathAddBackslash](/windows/win32/api/shlwapi/nf-shlwapi-pathaddbackslasha). |
| [ATLPath::AddExtension](../atl/reference/atl-path-functions.md#addextension) | This function is an overloaded wrapper for [PathAddExtension](/windows/win32/api/shlwapi/nf-shlwapi-pathaddextensionw). |
| [ATLPath::Append](../atl/reference/atl-path-functions.md#append) | This function is an overloaded wrapper for [PathAppend](/windows/win32/api/shlwapi/nf-shlwapi-pathappendw). |
| [ATLPath::BuildRoot](../atl/reference/atl-path-functions.md#buildroot) | This function is an overloaded wrapper for [PathBuildRoot](/windows/win32/api/shlwapi/nf-shlwapi-pathbuildrootw). |
Expand Down Expand Up @@ -87,5 +85,5 @@ ATL provides code for manipulating paths and URLs in the form of [CPathT](../atl

## See also

[Concepts](../atl/active-template-library-atl-concepts.md)<br/>
[Concepts](../atl/active-template-library-atl-concepts.md)\
[ATL COM desktop components](../atl/atl-com-desktop-components.md)
27 changes: 13 additions & 14 deletions docs/atl/reference/ccommultithreadmodel-class.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---
description: "Learn more about: CComMultiThreadModel Class"
title: "CComMultiThreadModel Class"
description: "Learn more about: CComMultiThreadModel Class"
ms.date: "11/04/2016"
f1_keywords: ["CComMultiThreadModel", "ATLBASE/ATL::CComMultiThreadModel", "ATLBASE/ATL::CComMultiThreadModel::AutoCriticalSection", "ATLBASE/ATL::CComMultiThreadModel::CriticalSection", "ATLBASE/ATL::CComMultiThreadModel::ThreadModelNoCS", "ATLBASE/ATL::CComMultiThreadModel::Decrement", "ATLBASE/ATL::CComMultiThreadModel::Increment"]
helpviewer_keywords: ["ATL, multithreading", "CComMultiThreadModel class", "threading [ATL]"]
ms.assetid: db8f1662-2f7a-44b3-b341-ffbfb6e422a3
---
# CComMultiThreadModel Class

`CComMultiThreadModel` provides thread-safe methods for incrementing and decrementing the value of a variable.

## Syntax

```
```cpp
class CComMultiThreadModel
```

Expand All @@ -35,7 +34,7 @@ class CComMultiThreadModel

## Remarks

Typically, you use `CComMultiThreadModel` through one of two **`typedef`** names, either [CComObjectThreadModel](atl-typedefs.md#ccomobjectthreadmodel or [CComGlobalsThreadModel](atl-typedefs.md#ccomglobalsthreadmodel. The class referenced by each **`typedef`** depends on the threading model used, as shown in the following table:
Typically, you use `CComMultiThreadModel` through one of two **`typedef`** names, either [CComObjectThreadModel](atl-typedefs.md#ccomobjectthreadmodel) or [CComGlobalsThreadModel](atl-typedefs.md#ccomglobalsthreadmodel). The class referenced by each **`typedef`** depends on the threading model used, as shown in the following table:

|typedef|Single threading|Apartment threading|Free threading|
|-------------|----------------------|-------------------------|--------------------|
Expand All @@ -54,7 +53,7 @@ S= `CComSingleThreadModel`; M= `CComMultiThreadModel`

When using `CComMultiThreadModel`, the **`typedef`** name `AutoCriticalSection` references class [CComAutoCriticalSection](ccomautocriticalsection-class.md), which provides methods for obtaining and releasing ownership of a critical section object.

```
```cpp
typedef CComAutoCriticalSection AutoCriticalSection;
```

Expand Down Expand Up @@ -120,7 +119,7 @@ The following tables show the results of the `InternalAddRef` and `Lock` methods

When using `CComMultiThreadModel`, the **`typedef`** name `CriticalSection` references class [CComCriticalSection](ccomcriticalsection-class.md), which provides methods for obtaining and releasing ownership of a critical section object.

```
```cpp
typedef CComCriticalSection CriticalSection;
```

Expand All @@ -144,13 +143,13 @@ See [CComMultiThreadModel::AutoCriticalSection](#autocriticalsection).

This static function calls the Win32 function [InterlockedDecrement](/windows/win32/api/winnt/nf-winnt-interlockeddecrement), which decrements the value of the variable pointed to by *p*.

```
```cpp
static ULONG WINAPI Decrement(LPLONG p) throw ();
```

### Parameters

*p*<br/>
*p*\
[in] Pointer to the variable to be decremented.

### Return Value
Expand All @@ -165,13 +164,13 @@ If the result of the decrement is 0, then `Decrement` returns 0. If the result o

This static function calls the Win32 function [InterlockedIncrement](/windows/win32/api/winnt/nf-winnt-interlockedincrement), which increments the value of the variable pointed to by *p*.

```
```cpp
static ULONG WINAPI Increment(LPLONG p) throw ();
```

### Parameters

*p*<br/>
*p*\
[in] Pointer to the variable to be incremented.

### Return Value
Expand All @@ -186,7 +185,7 @@ If the result of the increment is 0, then `Increment` returns 0. If the result o

When using `CComMultiThreadModel`, the **`typedef`** name `ThreadModelNoCS` references class [CComMultiThreadModelNoCS](ccommultithreadmodelnocs-class.md).

```
```cpp
typedef CComMultiThreadModelNoCS ThreadModelNoCS;
```

Expand All @@ -208,7 +207,7 @@ See [CComMultiThreadModel::AutoCriticalSection](#autocriticalsection).

## See also

[CComSingleThreadModel Class](ccomsinglethreadmodel-class.md)<br/>
[CComAutoCriticalSection Class](ccomautocriticalsection-class.md)<br/>
[CComCriticalSection Class](ccomcriticalsection-class.md)<br/>
[CComSingleThreadModel Class](ccomsinglethreadmodel-class.md)\
[CComAutoCriticalSection Class](ccomautocriticalsection-class.md)\
[CComCriticalSection Class](ccomcriticalsection-class.md)\
[Class Overview](../atl-class-overview.md)
43 changes: 21 additions & 22 deletions docs/cppcx/platform-guid-value-class.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---
description: "Learn more about: Platform::Guid value class"
title: "Platform::Guid value class"
description: "Learn more about: Platform::Guid value class"
ms.date: "01/15/2019"
ms.topic: "reference"
f1_keywords: ["VCCORLIB/Platform::Guid"]
helpviewer_keywords: ["Platform::Guid Struct"]
ms.assetid: 25c0bfb2-7f93-44d8-bdf4-ef4fbac3424a
---
# Platform::Guid value class

Represents a [GUID](/windows/win32/api/guiddef/ns-guiddef-guid type in the Windows Runtime type system.
Represents a [GUID](/windows/win32/api/guiddef/ns-guiddef-guid) type in the Windows Runtime type system.

## Syntax

Expand Down Expand Up @@ -74,43 +73,43 @@ Guid(

### Parameters

*a*<br/>
*a*\
The first 4 bytes of the `GUID`.

*b*<br/>
*b*\
The next 2 bytes of the `GUID`.

*c*<br/>
*c*\
The next 2 bytes of the `GUID`.

*d*<br/>
*d*\
The next byte of the `GUID`.

*e*<br/>
*e*\
The next byte of the `GUID`.

*f*<br/>
*f*\
The next byte of the `GUID`.

*g*<br/>
*g*\
The next byte of the `GUID`.

*h*<br/>
*h*\
The next byte of the `GUID`.

*i*<br/>
*i*\
The next byte of the `GUID`.

*j*<br/>
*j*\
The next byte of the `GUID`.

*k*<br/>
*k*\
The next byte of the `GUID`.

*m*<br/>
*m*\
A `GUID` in the form a [GUID structure](/windows/win32/api/guiddef/ns-guiddef-guid).

*n*<br/>
*n*\
The remaining 8 bytes of the `GUID`.

## <a name="operator-equality"></a> Guid::operator== Operator
Expand All @@ -125,10 +124,10 @@ static bool Platform::Guid::operator==(Platform::Guid guid1, Platform::Guid guid

### Parameters

*guid1*<br/>
*guid1*\
The first `Platform::Guid` to compare.

*guid2*<br/>
*guid2*\
The second `Platform::Guid` to compare.

### Return Value
Expand All @@ -152,10 +151,10 @@ static bool Platform::Guid::operator!=(Platform::Guid guid1, Platform::Guid guid

### Parameters

*guid1*<br/>
*guid1*\
The first `Platform::Guid` to compare.

*guid2*<br/>
*guid2*\
The second `Platform::Guid` to compare.

### Return Value
Expand All @@ -174,10 +173,10 @@ static bool Platform::Guid::operator<(Platform::Guid guid1, Platform::Guid guid2

### Parameters

*guid1*<br/>
*guid1*\
The first `Platform::Guid` to compare.

*guid2*<br/>
*guid2*\
The second `Platform::Guid` to compare.

### Return Value
Expand Down
5 changes: 2 additions & 3 deletions docs/data/odbc/odbc-and-mfc.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
description: "Learn more about: ODBC and MFC"
title: "ODBC and MFC"
description: "Learn more about: ODBC and MFC"
ms.date: "11/04/2016"
helpviewer_keywords: ["ODBC [C++], MFC", "connections [C++], databases", "connections [C++], data source", "databases [C++], connecting to", "data sources [C++], connecting to", "MFC [C++], ODBC and", "database connections [C++], MFC ODBC classes"]
ms.assetid: 98f02fd7-1235-437b-89a9-edfd0fc797f7
---
# ODBC and MFC

> [!NOTE]
> To use the MFC database classes, you must have the appropriate ODBC driver for your data source. The lastest Microsoft ODBC driver for SQL Server is [Microsoft ODBC Driver 18 for SQL Server](/sql/connect/odbc/download-odbc-driver-for-sql-server. Most database vendors provide an ODBC driver for Windows.
> To use the MFC database classes, you must have the appropriate ODBC driver for your data source. The lastest Microsoft ODBC driver for SQL Server is [Microsoft ODBC Driver 18 for SQL Server](/sql/connect/odbc/download-odbc-driver-for-sql-server). Most database vendors provide an ODBC driver for Windows.

This topic introduces the main concepts of the Microsoft Foundation Classes (MFC) library's ODBC-based database classes and provides an overview of how the classes work together. For more information about ODBC and MFC, see the following topics:

Expand Down
Loading