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-mfc-shared/implementation-of-a-custom-string-manager-basic-method.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ The easiest way to customize the memory allocation scheme for string data is to
16
16
17
17
-[CCRTHeap](../atl/reference/ccrtheap-class.md) Wraps the standard CRT heap functions ([malloc](../c-runtime-library/reference/malloc.md), [free](../c-runtime-library/reference/free.md), and [realloc](../c-runtime-library/reference/realloc.md))
18
18
19
-
-[CWin32Heap](../atl/reference/cwin32heap-class.md) Wraps a Win32 heap handle, using [HeapAlloc](http://msdn.microsoft.com/library/windows/desktop/aa366597), [HeapFree](http://msdn.microsoft.com/library/windows/desktop/aa366701), and [HeapRealloc](http://msdn.microsoft.com/library/windows/desktop/aa366704)
19
+
-[CWin32Heap](../atl/reference/cwin32heap-class.md) Wraps a Win32 heap handle, using [HeapAlloc](https://msdn.microsoft.com/library/windows/desktop/aa366597), [HeapFree](https://msdn.microsoft.com/library/windows/desktop/aa366701), and [HeapRealloc](https://msdn.microsoft.com/library/windows/desktop/aa366704)
20
20
21
-
-[CLocalHeap](../atl/reference/clocalheap-class.md) Wraps the Win32 APIs: [LocalAlloc](http://msdn.microsoft.com/library/windows/desktop/aa366723), [LocalFree](http://msdn.microsoft.com/library/windows/desktop/aa366730), and [LocalRealloc](http://msdn.microsoft.com/library/windows/desktop/aa366742)
21
+
-[CLocalHeap](../atl/reference/clocalheap-class.md) Wraps the Win32 APIs: [LocalAlloc](https://msdn.microsoft.com/library/windows/desktop/aa366723), [LocalFree](https://msdn.microsoft.com/library/windows/desktop/aa366730), and [LocalRealloc](https://msdn.microsoft.com/library/windows/desktop/aa366742)
22
22
23
-
-[CGlobalHeap](../atl/reference/cglobalheap-class.md) Wraps the Win32 APIs: [GlobalAlloc](http://msdn.microsoft.com/library/windows/desktop/aa366574), [GlobalFree](http://msdn.microsoft.com/library/windows/desktop/aa366579), and [GlobalRealloc](http://msdn.microsoft.com/library/windows/desktop/aa366590).
23
+
-[CGlobalHeap](../atl/reference/cglobalheap-class.md) Wraps the Win32 APIs: [GlobalAlloc](https://msdn.microsoft.com/library/windows/desktop/aa366574), [GlobalFree](https://msdn.microsoft.com/library/windows/desktop/aa366579), and [GlobalRealloc](https://msdn.microsoft.com/library/windows/desktop/aa366590).
24
24
25
-
-[CComHeap](../atl/reference/ccomheap-class.md) Wraps the COM Task Allocator APIs: [CoTaskMemAlloc](http://msdn.microsoft.com/library/windows/desktop/ms692727), [CoTaskMemFree](http://msdn.microsoft.com/library/windows/desktop/ms680722), and [CoTaskMemRealloc](http://msdn.microsoft.com/library/windows/desktop/ms687280)
25
+
-[CComHeap](../atl/reference/ccomheap-class.md) Wraps the COM Task Allocator APIs: [CoTaskMemAlloc](https://msdn.microsoft.com/library/windows/desktop/ms692727), [CoTaskMemFree](https://msdn.microsoft.com/library/windows/desktop/ms680722), and [CoTaskMemRealloc](https://msdn.microsoft.com/library/windows/desktop/ms687280)
26
26
27
27
For the purpose of string memory management, the most useful class is `CWin32Heap` because it allows you to create multiple independent heaps. For example, if you wanted to use a separate heap just for strings, you could do the following:
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/reference/cfiletime-class.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ class CFileTime : public FILETIME
82
82
|Day|Hour \* 24|
83
83
|Week|Day \* 7|
84
84
85
-
**Note** Not all file systems can record creation and last access time and not all file systems record them in the same manner. For example, on the Windows NT FAT file system, create time has a resolution of 10 milliseconds, write time has a resolution of 2 seconds, and access time has a resolution of 1 day (the access date). On NTFS, access time has a resolution of 1 hour. Furthermore, FAT records times on disk in local time, but NTFS records times on disk in UTC. For more information, see [File Times](http://msdn.microsoft.com/library/windows/desktop/ms724290).
85
+
**Note** Not all file systems can record creation and last access time and not all file systems record them in the same manner. For example, on the Windows NT FAT file system, create time has a resolution of 10 milliseconds, write time has a resolution of 2 seconds, and access time has a resolution of 1 day (the access date). On NTFS, access time has a resolution of 1 hour. Furthermore, FAT records times on disk in local time, but NTFS records times on disk in UTC. For more information, see [File Times](https://msdn.microsoft.com/library/windows/desktop/ms724290).
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/reference/cimage-class.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,7 @@ BOOL AlphaBlend(
204
204
The alpha-blending function for source and destination bitmaps, a global alpha value to be applied to the entire source bitmap, and format information for the source bitmap. The source and destination blend functions are currently limited to AC_SRC_OVER.
205
205
206
206
*pointDest*
207
-
A reference to a [POINT](http://msdn.microsoft.com/library/windows/desktop/dd162805) structure that identifies the upper left corner of the destination rectangle, in logical units.
207
+
A reference to a [POINT](https://msdn.microsoft.com/library/windows/desktop/dd162805) structure that identifies the upper left corner of the destination rectangle, in logical units.
208
208
209
209
*nDestWidth*
210
210
The width, in logical units, of the destination rectangle.
@@ -225,7 +225,7 @@ BOOL AlphaBlend(
225
225
The height, in logical units, of the source rectangle.
226
226
227
227
*rectDest*
228
-
A reference to a [RECT](http://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
228
+
A reference to a [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
229
229
230
230
*rectSrc*
231
231
A reference to a `RECT` structure, identifying the source.
@@ -304,10 +304,10 @@ BOOL BitBlt(
304
304
The logical y-coordinate of the upper left corner of the destination rectangle.
305
305
306
306
*dwROP*
307
-
The raster operation to be performed. Raster-operation codes define exactly how to combine the bits of the source, the destination, and the pattern (as defined by the currently selected brush) to form the destination. See [BitBlt](http://msdn.microsoft.com/library/windows/desktop/dd183370) in the Windows SDK for a list of other raster-operation codes and their descriptions.
307
+
The raster operation to be performed. Raster-operation codes define exactly how to combine the bits of the source, the destination, and the pattern (as defined by the currently selected brush) to form the destination. See [BitBlt](https://msdn.microsoft.com/library/windows/desktop/dd183370) in the Windows SDK for a list of other raster-operation codes and their descriptions.
308
308
309
309
*pointDest*
310
-
A [POINT](http://msdn.microsoft.com/library/windows/desktop/dd162805) structure indicating the upper left corner of the destination rectangle.
310
+
A [POINT](https://msdn.microsoft.com/library/windows/desktop/dd162805) structure indicating the upper left corner of the destination rectangle.
311
311
312
312
*nDestWidth*
313
313
The width, in logical units, of the destination rectangle.
@@ -322,7 +322,7 @@ BOOL BitBlt(
322
322
The logical y-coordinate of the upper left corner of the source rectangle.
323
323
324
324
*rectDest*
325
-
A [RECT](http://msdn.microsoft.com/library/windows/desktop/dd162897) structure indicating the destination rectangle.
325
+
A [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) structure indicating the destination rectangle.
326
326
327
327
*pointSrc*
328
328
A `POINT` structure indicating the upper left corner of the source rectangle.
@@ -331,7 +331,7 @@ BOOL BitBlt(
331
331
Nonzero if successful; otherwise zero.
332
332
333
333
### Remarks
334
-
For more information, see [BitBlt](http://msdn.microsoft.com/library/windows/desktop/dd183370) in the Windows SDK.
334
+
For more information, see [BitBlt](https://msdn.microsoft.com/library/windows/desktop/dd183370) in the Windows SDK.
335
335
336
336
## <aname="cimage"></a> CImage::CImage
337
337
Constructs a `CImage` object.
@@ -410,7 +410,7 @@ BOOL CreateEx(
410
410
- BI_BITFIELDS The format is uncompressed and the color table consists of three DWORD color masks that specify the red, green, and blue components, respectively, of each pixel. This is valid when used with 16- and 32-bpp bitmaps.
411
411
412
412
*pdwBitfields*
413
-
Only used if *eCompression* is set to BI_BITFIELDS, otherwise it must be NULL. A pointer to an array of three DWORD bitmasks, specifying which bits of each pixel are used for the red, green, and blue components of the color, respectively. For information on restrictions for the bitfields, see [BITMAPINFOHEADER](http://msdn.microsoft.com/library/windows/desktop/dd183376) in the Windows SDK.
413
+
Only used if *eCompression* is set to BI_BITFIELDS, otherwise it must be NULL. A pointer to an array of three DWORD bitmasks, specifying which bits of each pixel are used for the red, green, and blue components of the color, respectively. For information on restrictions for the bitfields, see [BITMAPINFOHEADER](https://msdn.microsoft.com/library/windows/desktop/dd183376) in the Windows SDK.
414
414
415
415
*dwFlags*
416
416
Specifies if the bitmap object has an alpha channel. Can be a combination of zero or more of the following values:
@@ -519,13 +519,13 @@ BOOL Draw(
519
519
The height, in logical units, of the source rectangle.
520
520
521
521
*rectDest*
522
-
A reference to a [RECT](http://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
522
+
A reference to a [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
523
523
524
524
*rectSrc*
525
525
A reference to a `RECT` structure, identifying the source.
526
526
527
527
*pointDest*
528
-
A reference to a [POINT](http://msdn.microsoft.com/library/windows/desktop/dd162805) structure that identifies the upper left corner of the destination rectangle, in logical units.
528
+
A reference to a [POINT](https://msdn.microsoft.com/library/windows/desktop/dd162805) structure that identifies the upper left corner of the destination rectangle, in logical units.
529
529
530
530
### Return Value
531
531
Nonzero if successful; otherwise 0.
@@ -564,7 +564,7 @@ int GetBPP() const throw();
564
564
### Remarks
565
565
This value determines the number of bits that define each pixel and the maximum number of colors in the bitmap.
566
566
567
-
The bits per pixel is usually 1, 4, 8, 16, 24, or 32. See the `biBitCount` member of [BITMAPINFOHEADER](http://msdn.microsoft.com/library/windows/desktop/dd183376) in the Windows SDK for more information about this value.
567
+
The bits per pixel is usually 1, 4, 8, 16, 24, or 32. See the `biBitCount` member of [BITMAPINFOHEADER](https://msdn.microsoft.com/library/windows/desktop/dd183376) in the Windows SDK for more information about this value.
A pointer to the array of [RGBQUAD](http://msdn.microsoft.com/library/windows/desktop/dd162938) structures to retrieve the color table entries.
586
+
A pointer to the array of [RGBQUAD](https://msdn.microsoft.com/library/windows/desktop/dd162938) structures to retrieve the color table entries.
587
587
588
588
## <a name="getdc"></a> CImage::GetDC
589
589
Retrieves the device context that currently has the image selected into it.
@@ -1120,18 +1120,18 @@ BOOL PlgBlt(
1120
1120
The y-coordinate of the upper left corner of the monochrome bitmap.
1121
1121
1122
1122
*rectSrc*
1123
-
A reference to a [RECT](http://msdn.microsoft.com/library/windows/desktop/dd162897) structure specifying the coordinates of the source rectangle.
1123
+
A reference to a [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) structure specifying the coordinates of the source rectangle.
1124
1124
1125
1125
*pointMask*
1126
-
A [POINT](http://msdn.microsoft.com/library/windows/desktop/dd162805) structure indicating the upper left corner of the mask bitmap.
1126
+
A [POINT](https://msdn.microsoft.com/library/windows/desktop/dd162805) structure indicating the upper left corner of the mask bitmap.
1127
1127
1128
1128
### Return Value
1129
1129
Nonzero if successful, otherwise 0.
1130
1130
1131
1131
### Remarks
1132
1132
If *hbmMask* identifies a valid monochrome bitmap, `PlgBit` uses this bitmap to mask the bits of color data from the source rectangle.
1133
1133
1134
-
This method applies to Windows NT, versions 4.0 and later only. See [PlgBlt](http://msdn.microsoft.com/library/windows/desktop/dd162804) in the Windows SDK for more detailed information.
1134
+
This method applies to Windows NT, versions 4.0 and later only. See [PlgBlt](https://msdn.microsoft.com/library/windows/desktop/dd162804) in the Windows SDK for more detailed information.
1135
1135
1136
1136
## <a name="releasedc"></a> CImage::ReleaseDC
1137
1137
Releases the device context.
@@ -1209,7 +1209,7 @@ void SetColorTable(
1209
1209
The number of color table entries to set.
1210
1210
1211
1211
*prgbColors*
1212
-
A pointer to the array of [RGBQUAD](http://msdn.microsoft.com/library/windows/desktop/dd162938) structures to set the color table entries.
1212
+
A pointer to the array of [RGBQUAD](https://msdn.microsoft.com/library/windows/desktop/dd162938) structures to set the color table entries.
1213
1213
1214
1214
### Remarks
1215
1215
This method supports only DIB section bitmaps.
@@ -1349,10 +1349,10 @@ BOOL StretchBlt(
1349
1349
The height, in logical units, of the destination rectangle.
1350
1350
1351
1351
*dwROP*
1352
-
The raster operation to be performed. Raster-operation codes define exactly how to combine the bits of the source, the destination, and the pattern (as defined by the currently selected brush) to form the destination. See [BitBlt](http://msdn.microsoft.com/library/windows/desktop/dd183370) in the Windows SDK for a list of other raster-operation codes and their descriptions.
1352
+
The raster operation to be performed. Raster-operation codes define exactly how to combine the bits of the source, the destination, and the pattern (as defined by the currently selected brush) to form the destination. See [BitBlt](https://msdn.microsoft.com/library/windows/desktop/dd183370) in the Windows SDK for a list of other raster-operation codes and their descriptions.
1353
1353
1354
1354
*rectDest*
1355
-
A reference to a [RECT](http://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
1355
+
A reference to a [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
1356
1356
1357
1357
*xSrc*
1358
1358
The x-coordinate, in logical units, of the upper left corner of the source rectangle.
@@ -1373,7 +1373,7 @@ BOOL StretchBlt(
1373
1373
Nonzero if successful, otherwise 0.
1374
1374
1375
1375
### Remarks
1376
-
For more information, see [StretchBlt](http://msdn.microsoft.com/library/windows/desktop/dd145120) in the Windows SDK.
1376
+
For more information, see [StretchBlt](https://msdn.microsoft.com/library/windows/desktop/dd145120) in the Windows SDK.
Copies a bitmap from the source device context to this current device context.
@@ -1431,7 +1431,7 @@ BOOL TransparentBlt(
1431
1431
The color in the source bitmap to treat as transparent. By default, CLR_INVALID, indicating that the color currently set as the transparent color of the image should be used.
1432
1432
1433
1433
*rectDest*
1434
-
A reference to a [RECT](http://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
1434
+
A reference to a [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) structure, identifying the destination.
1435
1435
1436
1436
*xSrc*
1437
1437
The x-coordinate, in logical units, of the upper left corner of the source rectangle.
0 commit comments