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/assembler/masm/masm-for-x64-ml64-exe.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ ml64.exe is the assembler that accepts x64 assembly language. For information on
38
38
39
39
Inline ASM is not supported for x64. Use MASM or compiler intrinsics ([x64 (amd64) Intrinsics List](../../intrinsics/x64-amd64-intrinsics-list.md)).
40
40
41
-
The two workarounds are separate assembly with MASM (which supports x64 fully) and compiler intrinsics. We’ve added a lot of intrinsics to allow customers to make use of special-function instructions (e.g. privileged, bit scan/test, interlocked, etc…) in as close to cross-platform a manner as possible.
41
+
The two workarounds are separate assembly with MASM (which supports x64 fully) and compiler intrinsics. We’ve added a lot of intrinsics to allow customers to make use of special-function instructions (e.g. privileged, bit scan/test, interlocked, etc.) in as close to cross-platform a manner as possible.
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/cfixedstringt-example-of-a-custom-string-manager.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ The ATL library implements one example of a custom string manager used by class
43
43
44
44
-**pMgr:** A pointer to the `IAtlStringMgr` interface of a "backup string manager."
45
45
46
-
The constructor stores the values of `pData` and **pMgr** in their respective member variables (`m_pData` and **m_pMgr**). It then sets the length of the buffer to zero, the available length equal to the maximum size of the fixed buffer, and the reference count to –1. The reference count value indicates the buffer is locked and to use this instance of **CFixedStringMgr** as the string manager.
46
+
The constructor stores the values of `pData` and **pMgr** in their respective member variables (`m_pData` and **m_pMgr**). It then sets the length of the buffer to zero, the available length equal to the maximum size of the fixed buffer, and the reference count to -1. The reference count value indicates the buffer is locked and to use this instance of **CFixedStringMgr** as the string manager.
47
47
48
48
Marking the buffer as locked prevents other `CStringT` instances from holding a shared reference to the buffer. If other `CStringT` instances were allowed to share the buffer it would be possible for the buffer contained by `CFixedStringT` to be deleted while other strings were still using the buffer.
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/reference/coledatetime-class.md
+23-23
Original file line number
Diff line number
Diff line change
@@ -64,13 +64,13 @@ class COleDateTime
64
64
|[COleDateTime::GetAsSystemTime](#getassystemtime)|Call this method to obtain the time in the `COleDateTime` object as a [SYSTEMTIME](http://msdn.microsoft.com/library/windows/desktop/ms724950) data structure.|
65
65
|[COleDateTime::GetAsUDATE](#getasudate)|Call this method to obtain the time in the `COleDateTime` as a **UDATE** data structure.|
66
66
|[COleDateTime::GetCurrentTime](#getcurrenttime)|Creates a `COleDateTime` object that represents the current time (static member function).|
67
-
|[COleDateTime::GetDay](#getday)|Returns the day this `COleDateTime` object represents (1 – 31).|
67
+
|[COleDateTime::GetDay](#getday)|Returns the day this `COleDateTime` object represents (1 - 31).|
68
68
|[COleDateTime::GetDayOfWeek](#getdayofweek)|Returns the day of the week this `COleDateTime` object represents (Sunday = 1).|
69
69
|[COleDateTime::GetDayOfYear](#getdayofyear)|Returns the day of the year this `COleDateTime` object represents (Jan 1 = 1).|
70
-
|[COleDateTime::GetHour](#gethour)|Returns the hour this `COleDateTime` object represents (0 – 23).|
71
-
|[COleDateTime::GetMinute](#getminute)|Returns the minute this `COleDateTime` object represents (0 – 59).|
72
-
|[COleDateTime::GetMonth](#getmonth)|Returns the month this `COleDateTime` object represents (1 – 12).|
73
-
|[COleDateTime::GetSecond](#getsecond)|Returns the second this `COleDateTime` object represents (0 – 59).|
70
+
|[COleDateTime::GetHour](#gethour)|Returns the hour this `COleDateTime` object represents (0 - 23).|
71
+
|[COleDateTime::GetMinute](#getminute)|Returns the minute this `COleDateTime` object represents (0 - 59).|
72
+
|[COleDateTime::GetMonth](#getmonth)|Returns the month this `COleDateTime` object represents (1 - 12).|
73
+
|[COleDateTime::GetSecond](#getsecond)|Returns the second this `COleDateTime` object represents (0 - 59).|
74
74
|[COleDateTime::GetStatus](#getstatus)|Gets the status (validity) of this `COleDateTime` object.|
75
75
|[COleDateTime::GetYear](#getyear)|Returns the year this `COleDateTime` object represents.|
76
76
|[COleDateTime::ParseDateTime](#parsedatetime)|Reads a date/time value from a string and sets the value of `COleDateTime`.|
Note that the actual upper bound for the day component varies based on the month and year components. For details, see the **SetDate** or `SetDateTime` member functions.
231
231
@@ -920,9 +920,9 @@ int SetDate(
920
920
921
921
|Parameter|Bounds|
922
922
|---------------|------------|
923
-
|`nYear`|100 – 9999|
924
-
|`nMonth`|1 – 12|
925
-
|`nDay`|0 – 31|
923
+
|`nYear`|100 - 9999|
924
+
|`nMonth`|1 - 12|
925
+
|`nDay`|0 - 31|
926
926
927
927
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`.
928
928
@@ -987,12 +987,12 @@ int SetDateTime(
987
987
988
988
|Parameter|Bounds|
989
989
|---------------|------------|
990
-
|`nYear`|100 – 9999|
991
-
|`nMonth`|1 – 12|
992
-
|`nDay`|0 – 31|
993
-
|`nHour`|0 – 23|
994
-
|`nMin`|0 – 59|
995
-
|`nSec`|0 – 59|
990
+
|`nYear`|100 - 9999|
991
+
|`nMonth`|1 - 12|
992
+
|`nDay`|0 - 31|
993
+
|`nHour`|0 - 23|
994
+
|`nMin`|0 - 59|
995
+
|`nSec`|0 - 59|
996
996
997
997
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](http://msdn.microsoft.com/en-us/d9d69521-9b33-4fc5-8a1c-929f216db450).
998
998
@@ -1085,9 +1085,9 @@ int SetTime(
1085
1085
1086
1086
|Parameter|Bounds|
1087
1087
|---------------|------------|
1088
-
|`nHour`|0 – 23|
1089
-
|`nMin`|0 – 59|
1090
-
|`nSec`|0 – 59|
1088
+
|`nHour`|0 - 23|
1089
+
|`nMin`|0 - 59|
1090
+
|`nSec`|0 - 59|
1091
1091
1092
1092
If the 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.
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/reference/csimplestringt-class.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -409,7 +409,7 @@ PXSTR GetBuffer();
409
409
410
410
The buffer memory is automatically freed when the `CSimpleStringT` object is destroyed.
411
411
412
-
If you keep track of the string length yourself, you should not append the terminating null character. However, you must specify the final string length when you release the buffer with `ReleaseBuffer`. If you do append a terminating null character, you should pass –1 (the default) for the length. `ReleaseBuffer` then determines the buffer length.
412
+
If you keep track of the string length yourself, you should not append the terminating null character. However, you must specify the final string length when you release the buffer with `ReleaseBuffer`. If you do append a terminating null character, you should pass -1 (the default) for the length. `ReleaseBuffer` then determines the buffer length.
413
413
414
414
If there is insufficient memory to satisfy the `GetBuffer` request, this method throws a CMemoryException*.
The buffer memory is automatically freed when the `CSimpleStringT` object is destroyed.
451
451
452
-
If you keep track of the string length yourself, do not not append the terminating null character. You must specify the final string length when you release the buffer by using `ReleaseBuffer`. If you do append a terminating null character when you call `ReleaseBuffer`, pass –1 (the default) for the length to `ReleaseBuffer`, and `ReleaseBuffer` will perform a `strlen` on the buffer to determine its length.
452
+
If you keep track of the string length yourself, do not not append the terminating null character. You must specify the final string length when you release the buffer by using `ReleaseBuffer`. If you do append a terminating null character when you call `ReleaseBuffer`, pass -1 (the default) for the length to `ReleaseBuffer`, and `ReleaseBuffer` will perform a `strlen` on the buffer to determine its length.
453
453
454
454
For more information about reference counting, see the following articles:
455
455
@@ -566,7 +566,7 @@ PXSTR LockBuffer();
566
566
A pointer to a `CSimpleStringT` object or a null-terminated string.
567
567
568
568
### Remarks
569
-
Call this method to lock the buffer of the `CSimpleStringT` object. By calling `LockBuffer`, you create a copy of the string, with a –1 for the reference count. When the reference count value is -1, the string in the buffer is considered to be in a "locked" state. While in a locked state, the string is protected in two ways:
569
+
Call this method to lock the buffer of the `CSimpleStringT` object. By calling `LockBuffer`, you create a copy of the string, with a -1 for the reference count. When the reference count value is -1, the string in the buffer is considered to be in a "locked" state. While in a locked state, the string is protected in two ways:
570
570
571
571
- No other string can get a reference to the data in the locked string, even if that string is assigned to the locked string.
Call this member function to convert the time information stored in the `CTime` object to a Win32–compatible [SYSTEMTIME](http://msdn.microsoft.com/library/windows/desktop/ms724950) structure.
284
+
Call this member function to convert the time information stored in the `CTime` object to a Win32-compatible [SYSTEMTIME](http://msdn.microsoft.com/library/windows/desktop/ms724950) structure.
0 commit comments