You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/mfc/reference/casyncsocket-class.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1127,7 +1127,7 @@ A buffer for the incoming data.
1127
1127
The length of *`lpBuf`* in bytes.
1128
1128
1129
1129
*`nFlags`*<br/>
1130
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ **OR** operator:
1130
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1131
1131
1132
1132
-`MSG_PEEK` Peek at the incoming data. The data is copied into the buffer but is not removed from the input queue.
1133
1133
@@ -1218,7 +1218,7 @@ A pointer to a [`SOCKADDR`](/windows/win32/winsock/sockaddr-2) structure that ho
1218
1218
A pointer to the length of the source address in *`lpSockAddr`* in bytes.
1219
1219
1220
1220
*`nFlags`*<br/>
1221
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ **OR** operator:
1221
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1222
1222
1223
1223
-`MSG_PEEK` Peek at the incoming data. The data is copied into the buffer but is not removed from the input queue.
1224
1224
@@ -1366,7 +1366,7 @@ A buffer containing the data to be transmitted.
1366
1366
The length of the data in *`lpBuf`* in bytes.
1367
1367
1368
1368
*`nFlags`*<br/>
1369
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ **`OR`** operator:
1369
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1370
1370
1371
1371
-`MSG_DONTROUTE` Specifies that the data should not be subject to routing. A Windows Sockets supplier can choose to ignore this flag.
1372
1372
@@ -1455,7 +1455,7 @@ The port identifying the socket application.
1455
1455
The network address of the socket to which this object is connected: a machine name such as "ftp.microsoft.com," or a dotted number such as "128.56.22.8".
1456
1456
1457
1457
*`nFlags`*<br/>
1458
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ **`OR`** operator:
1458
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1459
1459
1460
1460
-`MSG_DONTROUTE` Specifies that the data should not be subject to routing. A Windows Sockets supplier can choose to ignore this flag.
1461
1461
@@ -1551,7 +1551,7 @@ The port identifying the socket application.
1551
1551
The network address of the socket to which this object is connected: a machine name such as "ftp.microsoft.com," or a dotted number such as "128.56.22.8".
1552
1552
1553
1553
*`nFlags`*<br/>
1554
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ **`OR`** operator:
1554
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1555
1555
1556
1556
-`MSG_DONTROUTE` Specifies that the data should not be subject to routing. A Windows Sockets supplier can choose to ignore this flag.
Copy file name to clipboardExpand all lines: docs/mfc/reference/ctreectrl-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -799,7 +799,7 @@ Mask indicating one or more states to be retrieved. For more information on poss
799
799
800
800
### Return Value
801
801
802
-
A `UINT` that holds the bitwise `OR`of the values specified by `nStateMask`. For information on possible values, see [`CTreeCtrl::GetItem`](#getitem). To find the value for a specific state, perform a bitwise `AND` operation of the state value and the return value, as shown in the following example.
802
+
A `UINT` that holds the C++ logical **OR** operator (||) of the values specified by `nStateMask`. For information on possible values, see [`CTreeCtrl::GetItem`](#getitem). To find the value for a specific state, perform a C++ bitwise **AND** operator (&&) f the state value and the return value, as shown in the following example.
The classes in the following list are included in the Microsoft Foundation` Class (MFC) Library.
10
+
The classes in the following list are included in the Microsoft Foundation Class (MFC) Library.
11
11
12
12
> [!TIP]
13
-
> For information about [`CStringT`](../../atl-mfc-shared/reference/cstringt-class.md) and other classes that are common to both MFC and ATL programming, see [`Classes Shared by MFC and ATL](../../atl-mfc-shared/reference/classes-shared-by-mfc-and-atl.md).
13
+
> For information about [`CStringT`](../../atl-mfc-shared/reference/cstringt-class.md) and other classes that are common to both MFC and ATL programming, see [Classes Shared by MFC and ATL](../../atl-mfc-shared/reference/classes-shared-by-mfc-and-atl.md).
14
14
15
15
> [!IMPORTANT]
16
16
> The MFC classes and their members cannot be used in applications that execute in the Windows Runtime.
@@ -123,7 +123,7 @@ Provides the functionality of a Windows checklist box.
123
123
Handles the calling of the Windows functions [`GetDC`](/windows/win32/api/winuser/nf-winuser-getdc) at construction time and [`ReleaseDC`](/windows/win32/api/winuser/nf-winuser-releasedc) at destruction time.
Acts as a cache into which an application places the data that it will offer during data transfer operations, such as` Clipboard or drag-and-drop operations.
927
+
Acts as a cache into which an application places the data that it will offer during data transfer operations, such as Clipboard or drag-and-drop operations.
A view that displays database records in controls.
@@ -1023,7 +1023,7 @@ Encapsulates a Windows color palette.
1023
1023
Enhancement of the [`CControlBar` Class](../../mfc/reference/ccontrolbar-class.md). If you are upgrading an existing MFC project, you need to replace all occurrences of `CControlBar` with `CPane`.
Basic component of the docking model implemented by MFC. An object of this class stores pointers to two docking panes or to two instances of `CPaneContainer.` It also stores a pointer to the divider that separates the panes (or the containers). By nesting containers inside containers, the framework can build a binary tree that represents complex docking layouts. The root of the binary tree is stored in a [`CPaneContainerManager` Class](../../mfc/reference/cpanecontainermanager-class.md) object.
1026
+
Basic component of the docking model implemented by MFC. An object of this class stores pointers to two docking panes or to two instances of `CPaneContainer`. It also stores a pointer to the divider that separates the panes (or the containers). By nesting containers inside containers, the framework can build a binary tree that represents complex docking layouts. The root of the binary tree is stored in a [`CPaneContainerManager` Class](../../mfc/reference/cpanecontainermanager-class.md) object.
Encapsulates the functionality of a "tool tip control," a small pop-up window that displays a single line of text describing the purpose of a tool in an application.
1230
+
Encapsulates the functionality of a "tool tip control", a small pop-up window that displays a single line of text describing the purpose of a tool in an application.
0 commit comments