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/atl/reference/com-plus-1-0-atl-com-plus-1-0-component-wizard.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ For more information on ATL projects and ATL COM classes, see [ATL COM Desktop C
24
24
|Option|Description|
25
25
|------------|-----------------|
26
26
|**Dual**|Specifies that the object supports a dual interface (its vtable has custom interface functions and late-binding `IDispatch` methods). Allows both COM clients and Automation controllers to access the object.|
27
-
|**Custom**|Specifies that the object supports a custom interface (its vtable has custom interface functions). A custom interface can be faster than a dual interface, especially across process boundaries.<br /><br /> - **Automation compatible** Adds automation support to the custom interface. For attributed projects, sets the **oleautomation** attribute in the coclass.|
27
+
|**Custom**|Specifies that the object supports a custom interface (its vtable has custom interface functions). A custom interface can be faster than a dual interface, especially across process boundaries.<br /><br /> - **Automation compatible** Adds automation support to the custom interface. For attributed projects, sets the **oleautomation** attribute in the coclass.|
Copy file name to clipboardExpand all lines: docs/atl/reference/options-atl-simple-object-wizard.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ For more information on ATL projects and ATL COM classes, see [ATL COM Desktop C
49
49
|Option|Description|
50
50
|------------|-----------------|
51
51
|**Dual**|Specifies that the object supports a dual interface (its vtable has custom interface functions plus late-binding `IDispatch` methods). Allows both COM clients and [Automation controllers](../../mfc/automation-clients.md) to access the object. The default.|
52
-
|**Custom**|Specifies that the object supports a custom interface (its vtable has custom interface functions). A custom interface can be faster than a dual interface, especially across process boundaries.<br /><br /> - **Automation compatible** Allows Automation controllers to access an object that has the custom interface support.|
52
+
|**Custom**|Specifies that the object supports a custom interface (its vtable has custom interface functions). A custom interface can be faster than a dual interface, especially across process boundaries.<br /><br /> - **Automation compatible** Allows Automation controllers to access an object that has the custom interface support.|
Copy file name to clipboardExpand all lines: docs/build/aggregates-and-unions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Other types, such as arrays, structs, and unions, have stricter alignment requir
19
19
20
20
Contains an ordered group of adjacent data objects. Each object is called an element. All elements within an array have the same size and data type.
21
21
22
-
-Structure
22
+
- Structure
23
23
24
24
Contains an ordered group of data objects. Unlike the elements of an array, the data objects within a structure can have different data types and sizes. Each data object in a structure is called a member.
Copy file name to clipboardExpand all lines: docs/build/arm-exception-handling.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -73,15 +73,15 @@ This table shows the format of a .pdata record that has packed unwind data:
73
73
|Word Offset|Bits|Purpose|
74
74
|-----------------|----------|-------------|
75
75
|0|0-31|*Function Start RVA* is the 32-bit RVA of the start of the function. If the function contains thumb code, the low bit of this address must be set.|
76
-
|1|0-1|*Flag* is a 2-bit field that has these meanings:<br /><br /> - 00 = packed unwind data not used; remaining bits point to .xdata record.<br />- 01 = packed unwind data.<br />- 10 = packed unwind data where the function is assumed to have no prologue. This is useful for describing function fragments that are discontiguous with the start of the function.<br />- 11 = reserved.|
76
+
|1|0-1|*Flag* is a 2-bit field that has these meanings:<br /><br />- 00 = packed unwind data not used; remaining bits point to .xdata record.<br />- 01 = packed unwind data.<br />- 10 = packed unwind data where the function is assumed to have no prologue. This is useful for describing function fragments that are discontiguous with the start of the function.<br />- 11 = reserved.|
77
77
|1|2-12|*Function Length* is an 11-bit field that provides the length of the entire function in bytes divided by 2. If the function is larger than 4K bytes, a full .xdata record must be used instead.|
78
-
|1|13-14|*Ret* is a 2-bit field that indicates how the function returns:<br /><br /> - 00 = return via pop {pc} (the *L* flag bit must be set to 1 in this case).<br />- 01 = return by using a 16-bit branch.<br />- 10 = return by using a 32-bit branch.<br />- 11 = no epilogue at all. This is useful for describing a discontiguous function fragment that may only contain a prologue, but whose epilogue is elsewhere.|
78
+
|1|13-14|*Ret* is a 2-bit field that indicates how the function returns:<br /><br />- 00 = return via pop {pc} (the *L* flag bit must be set to 1 in this case).<br />- 01 = return by using a 16-bit branch.<br />- 10 = return by using a 32-bit branch.<br />- 11 = no epilogue at all. This is useful for describing a discontiguous function fragment that may only contain a prologue, but whose epilogue is elsewhere.|
79
79
|1|15|*H* is a 1-bit flag that indicates whether the function "homes" the integer parameter registers (r0-r3) by pushing them at the start of the function, and deallocates the 16 bytes of stack before returning. (0 = does not home registers, 1 = homes registers.)|
80
80
|1|16-18|*Reg* is a 3-bit field that indicates the index of the last saved non-volatile register. If the *R* bit is 0, then only integer registers are being saved, and are assumed to be in the range of r4-rN, where N is equal to 4 + *Reg*. If the *R* bit is 1, then only floating-point registers are being saved, and are assumed to be in the range of d8-dN, where N is equal to 8 + *Reg*. The special combination of *R* = 1 and *Reg* = 7 indicates that no registers are saved.|
81
81
|1|19|*R* is a 1-bit flag that indicates whether the saved non-volatile registers are integer registers (0) or floating-point registers (1). If *R* is set to 1 and the *Reg* field is set to 7, no non-volatile registers were pushed.|
82
82
|1|20|*L* is a 1-bit flag that indicates whether the function saves/restores LR, along with other registers indicated by the *Reg* field. (0 = does not save/restore, 1 = does save/restore.)|
83
83
|1|21|*C* is a 1-bit flag that indicates whether the function includes extra instructions to set up a frame chain for fast stack walking (1) or not (0). If this bit is set, r11 is implicitly added to the list of integer non-volatile registers saved. (See restrictions below if the *C* flag is used.)|
84
-
|1|22-31|*Stack Adjust* is a 10-bit field that indicates the number of bytes of stack that are allocated for this function, divided by 4. However, only values between 0x000-0x3F3 can be directly encoded. Functions that allocate more than 4044 bytes of stack must use a full .xdata record. If the *Stack Adjust* field is 0x3F4 or larger, then the low 4 bits have special meaning:<br /><br /> - Bits 0-1 indicate the number of words of stack adjustment (1-4) minus 1.<br />- Bit 2 is set to 1 if the prologue combined this adjustment into its push operation.<br />- Bit 3 is set to 1 if the epilogue combined this adjustment into its pop operation.|
84
+
|1|22-31|*Stack Adjust* is a 10-bit field that indicates the number of bytes of stack that are allocated for this function, divided by 4. However, only values between 0x000-0x3F3 can be directly encoded. Functions that allocate more than 4044 bytes of stack must use a full .xdata record. If the *Stack Adjust* field is 0x3F4 or larger, then the low 4 bits have special meaning:<br /><br />- Bits 0-1 indicate the number of words of stack adjustment (1-4) minus 1.<br />- Bit 2 is set to 1 if the prologue combined this adjustment into its push operation.<br />- Bit 3 is set to 1 if the epilogue combined this adjustment into its pop operation.|
85
85
86
86
Due to possible redundancies in the encodings above, these restrictions apply:
Copy file name to clipboardExpand all lines: docs/cpp/pointers-to-members.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Declarations of pointers to members are special cases of pointer declarations.
42
42
- The qualified name of the class.
43
43
- The `::` operator.
44
44
- The name of a nonstatic member of the class of the appropriate type.
45
-
-As always, multiple declarators (and any associated initializers) are allowed in a single declaration.
45
+
- As always, multiple declarators (and any associated initializers) are allowed in a single declaration.
46
46
47
47
A pointer to a member of a class differs from a normal pointer because it has type information for the type of the member and for the class to which the member belongs. A normal pointer identifies (has the address of) only a single object in memory. A pointer to a member of a class identifies that member in any instance of the class. The following example declares a class, `Window`, and some pointers to member data.
Copy file name to clipboardExpand all lines: docs/cpp/standard-conversions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ Many binary operators (discussed in [Expressions with Binary Operators](../cpp/e
150
150
|Either operand is of type **long double**.|Other operand is converted to type **long double**.|
151
151
|Preceding condition not met and either operand is of type **double**.|Other operand is converted to type **double**.|
152
152
|Preceding conditions not met and either operand is of type **float**.|Other operand is converted to type **float**.|
153
-
|Preceding conditions not met (none of the operands are of floating types).|Integral promotions are performed on the operands as follows:<br /><br /> - If either operand is of type **unsigned long**, the other operand is converted to type **unsigned long**.<br />- If preceding condition not met, and if either operand is of type **long** and the other of type **unsigned int**, both operands are converted to type **unsigned long**.<br />- If the preceding two conditions are not met, and if either operand is of type **long**, the other operand is converted to type **long**.<br />- If the preceding three conditions are not met, and if either operand is of type **unsigned int**, the other operand is converted to type **unsigned int**.<br />- If none of the preceding conditions are met, both operands are converted to type **int**.|
153
+
|Preceding conditions not met (none of the operands are of floating types).|Integral promotions are performed on the operands as follows:<br /><br />- If either operand is of type **unsigned long**, the other operand is converted to type **unsigned long**.<br />- If preceding condition not met, and if either operand is of type **long** and the other of type **unsigned int**, both operands are converted to type **unsigned long**.<br />- If the preceding two conditions are not met, and if either operand is of type **long**, the other operand is converted to type **long**.<br />- If the preceding three conditions are not met, and if either operand is of type **unsigned int**, the other operand is converted to type **unsigned int**.<br />- If none of the preceding conditions are met, both operands are converted to type **int**.|
154
154
155
155
The following code illustrates the conversion rules described in the table:
Copy file name to clipboardExpand all lines: docs/cpp/storage-classes-cpp.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -206,13 +206,13 @@ Things to note about the `thread_local` specifier:
206
206
207
207
- Dynamically initialized thread-local variables in DLLs may not be correctly initialized on all calling threads. For more information, see [thread](thread.md).
208
208
209
-
-The `thread_local` specifier may be combined with **static** or **extern**.
209
+
- The `thread_local` specifier may be combined with **static** or **extern**.
210
210
211
-
-You can apply `thread_local` only to data declarations and definitions; `thread_local` cannot be used on function declarations or definitions.
211
+
- You can apply `thread_local` only to data declarations and definitions; `thread_local` cannot be used on function declarations or definitions.
212
212
213
-
-You can specify `thread_local` only on data items with static storage duration. This includes global data objects (both **static** and **extern**), local static objects, and static data members of classes. Any local variable declared `thread_local` is implicitly static if no other storage class is provided; in other words, at block scope `thread_local` is equivalent to `thread_local static`.
213
+
- You can specify `thread_local` only on data items with static storage duration. This includes global data objects (both **static** and **extern**), local static objects, and static data members of classes. Any local variable declared `thread_local` is implicitly static if no other storage class is provided; in other words, at block scope `thread_local` is equivalent to `thread_local static`.
214
214
215
-
-You must specify `thread_local` for both the declaration and the definition of a thread local object, whether the declaration and definition occur in the same file or separate files.
215
+
- You must specify `thread_local` for both the declaration and the definition of a thread local object, whether the declaration and definition occur in the same file or separate files.
216
216
217
217
On Windows, `thread_local` is functionally equivalent to [__declspec(thread)](../cpp/thread.md) except that **__declspec(thread)** can be applied to a type definition and is valid in C code. Whenever possible, use `thread_local` because it is part of the C++ standard and is therefore more portable.
Copy file name to clipboardExpand all lines: docs/cppcx/compiler-and-linker-options-c-cx.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The %LIBPATH% environment variable specifies the default path to search for .win
21
21
22
22
|Option|Description|
23
23
|------------|-----------------|
24
-
|[/ZW](../build/reference/zw-windows-runtime-compilation.md)<br /><br /> /ZW:nostdlib|Enables Windows Runtime language extensions.<br /><br /> The `nostdlib` parameter prevents the compiler from using the standard, predefined search path to find assembly and .winmd files.<br /><br /> The **/ZW** compiler option implicitly specifies the following compiler options:<br /><br /> - **/FI** vccorlib.h, which forces inclusion of the vccorlib.h header file that defines many types that are required by the compiler.<br />- [/FU](../build/reference/fu-name-forced-hash-using-file.md) Windows.winmd, which forces inclusion of the Windows.winmd metadata file that's provided by the operating system and defines many types in the Windows Runtime.<br />-**/FU** Platform.winmd, which forces inclusion of the Platform.winmd metadata file that's provided by the compiler and defines most types in the Platform family of namespaces.|
24
+
|[/ZW](../build/reference/zw-windows-runtime-compilation.md)<br /><br /> /ZW:nostdlib|Enables Windows Runtime language extensions.<br /><br /> The `nostdlib` parameter prevents the compiler from using the standard, predefined search path to find assembly and .winmd files.<br /><br /> The **/ZW** compiler option implicitly specifies the following compiler options:<br /><br />- **/FI** vccorlib.h, which forces inclusion of the vccorlib.h header file that defines many types that are required by the compiler.<br />- [/FU](../build/reference/fu-name-forced-hash-using-file.md) Windows.winmd, which forces inclusion of the Windows.winmd metadata file that's provided by the operating system and defines many types in the Windows Runtime.<br />- **/FU** Platform.winmd, which forces inclusion of the Platform.winmd metadata file that's provided by the compiler and defines most types in the Platform family of namespaces.|
25
25
|[/AI](../build/reference/ai-specify-metadata-directories.md)*dir*|Adds a directory, which is specified by the *dir* parameter, to the search path that the compiler uses to find assembly and .winmd files.|
26
26
|**/FU***file*|Forces the inclusion of the specified module, or .winmd file. That is, you don't have to specify `#using`*file* in your source code. The compiler automatically forces the inclusion of its own Windows metadata file, Platform.winmd.|
27
27
|/D "WINAPI_FAMILY=2"|Creates a definition that enables the use of a subset of the Win32 SDK that's compatible with the Windows Runtime.|
Copy file name to clipboardExpand all lines: docs/data/odbc/data-source-programmatically-configuring-an-odbc-data-source.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,13 @@ One way to find the keynames and values for the *lpszAttributes* parameter is to
88
88
89
89
1. Find the ODBC data sources information using one of the following:
90
90
91
-
-For 32 bit, find the key **HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC Data Sources** in the left pane.
91
+
- For 32 bit, find the key **HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC Data Sources** in the left pane.
92
92
93
-
The right pane lists entries of the form: "pub: REG_SZ:*<datasourcename>*", where *<datasourcename>* is a data source that has already been configured with the desired settings for the driver you intend to use. Select the data source you want, for example, SQL Server. The items following the string "pub:" are, in order, the keyname and value to use in your *lpszAttributes* parameter.
93
+
The right pane lists entries of the form: "pub: REG_SZ:*<datasourcename>*", where *<datasourcename>* is a data source that has already been configured with the desired settings for the driver you intend to use. Select the data source you want, for example, SQL Server. The items following the string "pub:" are, in order, the keyname and value to use in your *lpszAttributes* parameter.
94
94
95
-
-For 16 bit, find the section in the Odbc.ini file marked by [*\<data source name>*].
95
+
- For 16 bit, find the section in the Odbc.ini file marked by [*\<data source name>*].
96
96
97
-
The lines following this line are of the form "keyname=value". These are exactly the entries to use in your *lpszAttributes* parameter.
97
+
The lines following this line are of the form "keyname=value". These are exactly the entries to use in your *lpszAttributes* parameter.
98
98
99
99
You might also want to examine the documentation for the specific driver you are going to use. You can find useful information in the online Help for the driver, which you can access by running ODBC Administrator. These Help files are usually placed in the WINDOWS\SYSTEM directory for Windows NT, Windows 3.1, or Windows 95.
0 commit comments