Skip to content

Commit 9f592ea

Browse files
committed
fix: MD040/fenced-code-language
Find/replace for code fences starting with "void"
1 parent af07ce2 commit 9f592ea

File tree

365 files changed

+1814
-1814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+1814
-1814
lines changed

docs/atl-mfc-shared/reference/cfiletime-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ See the example for [CFileTime::Millisecond](#millisecond).
414414

415415
Call this method to set the date and time stored by the `CFileTime` object.
416416

417-
```
417+
```cpp
418418
void SetTime(ULONGLONG nTime) throw();
419419
```
420420

docs/atl-mfc-shared/reference/cimage-class.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ When *bBlendOp* is set to the default of AC_SRC_OVER, the source bitmap is place
242242

243243
Attaches *hBitmap* to a `CImage` object.
244244

245-
```
245+
```cpp
246246
void Attach(HBITMAP hBitmap, DIBOrientation eOrientation = DIBOR_DEFAULT) throw();
247247
```
248248
@@ -451,7 +451,7 @@ m_myImage.CreateEx(100, 100, 16, BI_BITFIELDS, adwBitmasks, 0);
451451

452452
Detaches the bitmap from the `CImage` object and destroys the bitmap.
453453

454-
```
454+
```cpp
455455
void Destroy() throw();
456456
```
457457

@@ -561,7 +561,7 @@ For versions of `Draw` that do not specify a source rectangle, the entire source
561561

562562
Retrieves a pointer to the actual bit values of a given pixel in a bitmap.
563563

564-
```
564+
```cpp
565565
void* GetBits() throw();
566566
```
567567

@@ -598,7 +598,7 @@ The bits per pixel is usually 1, 4, 8, 16, 24, or 32. See the `biBitCount` membe
598598

599599
Retrieves red, green, blue (RGB) color values from a range of entries in the palette of the DIB section.
600600

601-
```
601+
```cpp
602602
void GetColorTable(
603603
UINT iFirstColor,
604604
UINT nColors,
@@ -867,7 +867,7 @@ The red, green, blue (RGB) value of the pixel. If the pixel is outside of the cu
867867
868868
Retrieves the exact address of a pixel.
869869
870-
```
870+
```cpp
871871
void* GetPixelAddress(int x, int y) throw();
872872
```
873873

@@ -1020,7 +1020,7 @@ Valid image types are BMP, GIF, JPEG, PNG, and TIFF.
10201020

10211021
Loads an image from a BITMAP resource.
10221022

1023-
```
1023+
```cpp
10241024
void LoadFromResource(
10251025
HINSTANCE hInstance,
10261026
LPCTSTR pszResourceName) throw();
@@ -1222,7 +1222,7 @@ This method applies to Windows NT, versions 4.0 and later only. See [PlgBlt](/wi
12221222
12231223
Releases the device context.
12241224
1225-
```
1225+
```cpp
12261226
void ReleaseDC() const throw();
12271227
```
12281228

@@ -1234,7 +1234,7 @@ Because only one bitmap can be selected into a device context at a time, you mus
12341234

12351235
Releases resources used by GDI+.
12361236

1237-
```
1237+
```cpp
12381238
void ReleaseGDIPlus() throw();
12391239
```
12401240

@@ -1290,7 +1290,7 @@ Call this function to save the image using a specified name and type. If the *gu
12901290

12911291
Sets the red, green, blue (RGB) color values for a range of entries in the palette of the DIB section.
12921292

1293-
```
1293+
```cpp
12941294
void SetColorTable(
12951295
UINT iFirstColor,
12961296
UINT nColors,
@@ -1316,7 +1316,7 @@ This method supports only DIB section bitmaps.
13161316
13171317
Sets the color of a pixel at a given location in the bitmap.
13181318
1319-
```
1319+
```cpp
13201320
void SetPixel(int x, int y, COLORREF color) throw();
13211321
```
13221322

@@ -1339,7 +1339,7 @@ This method fails if the pixel coordinates lie outside of the selected clipping
13391339

13401340
Sets the pixel color to the color located at *iIndex* in the color palette.
13411341

1342-
```
1342+
```cpp
13431343
void SetPixelIndexed(int x, int y, int iIndex) throw();
13441344
```
13451345
@@ -1358,7 +1358,7 @@ The index of a color in the color palette.
13581358
13591359
Sets the pixel at the locations specified by *x* and *y* to the colors indicated by *r*, *g*, and *b*, in a red, green, blue (RGB) image.
13601360
1361-
```
1361+
```cpp
13621362
void SetPixelRGB(
13631363
int x,
13641364
int y,

docs/atl-mfc-shared/reference/coledatetime-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ See the example for [GetStatus](#getstatus).
10991099

11001100
Sets the status of this `COleDateTime` object.
11011101

1102-
```
1102+
```cpp
11031103
void SetStatus(DateTimeStatus status) throw();
11041104
```
11051105

docs/atl-mfc-shared/reference/coledatetimespan-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ This operator returns the value of this `COleDateTimeSpan` value as a floating-p
650650

651651
Sets the value of this date/time-span value.
652652

653-
```
653+
```cpp
654654
void SetDateTimeSpan(LONG lDays, int nHours, int nMins, int nSecs) throw();
655655
```
656656
@@ -687,7 +687,7 @@ For functions that query the value of a `COleDateTimeSpan` object, see the follo
687687
688688
Sets the status (validity) of this `COleDateTimeSpan` object.
689689
690-
```
690+
```cpp
691691
void SetStatus(DateTimeSpanStatus status) throw();
692692
```
693693

docs/atl-mfc-shared/reference/cpoint-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ASSERT(ptFromDouble == ptMFCHere);
126126
127127
Adds values to the `x` and `y` members of the `CPoint`.
128128
129-
```
129+
```cpp
130130
void Offset(int xOffset, int yOffset) throw();
131131
void Offset(POINT point) throw();
132132
void Offset(SIZE size) throw();
@@ -196,7 +196,7 @@ Nonzero if the points are not equal; otherwise 0.
196196

197197
The first overload adds a size to the `CPoint`.
198198

199-
```
199+
```cpp
200200
void operator+=(SIZE size) throw();
201201
void operator+=(POINT point) throw();
202202
```
@@ -225,7 +225,7 @@ For example, adding `CPoint(5, -7)` to a variable which contains `CPoint(30, 40)
225225

226226
The first overload subtracts a size from the `CPoint`.
227227

228-
```
228+
```cpp
229229
void operator-=(SIZE size) throw();
230230
void operator-=(POINT point) throw();
231231
```

docs/atl-mfc-shared/reference/crect-class.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void CMyDlg::OnPaint()
206206

207207
Copies the `lpSrcRect` rectangle into `CRect`.
208208

209-
```
209+
```cpp
210210
void CopyRect(LPCRECT lpSrcRect) throw();
211211
```
212212
@@ -330,7 +330,7 @@ ASSERT(rect5 == rect4);
330330
331331
`DeflateRect` deflates `CRect` by moving its sides toward its center.
332332
333-
```
333+
```cpp
334334
void DeflateRect(int x, int y) throw();
335335
void DeflateRect(SIZE size) throw();
336336
void DeflateRect(LPCRECT lpRect) throw();
@@ -456,7 +456,7 @@ ASSERT(nHt == 40);
456456
457457
`InflateRect` inflates `CRect` by moving its sides away from its center.
458458
459-
```
459+
```cpp
460460
void InflateRect(int x, int y) throw();
461461
void InflateRect(SIZE size) throw();
462462
void InflateRect(LPCRECT lpRect) throw();
@@ -611,7 +611,7 @@ ASSERT(!rectNotNull.IsRectNull());
611611

612612
Call this function to move the rectangle to the absolute x-coordinate specified by *x*.
613613

614-
```
614+
```cpp
615615
void MoveToX(int x) throw();
616616
```
617617
@@ -634,7 +634,7 @@ ASSERT(rect == CRect(10, 0, 110, 100));
634634

635635
Call this function to move the rectangle to the absolute x- and y-coordinates specified.
636636

637-
```
637+
```cpp
638638
void MoveToXY(int x, int y) throw();
639639
void MoveToXY(POINT point) throw();
640640
```
@@ -663,7 +663,7 @@ ASSERT(rect == CRect(10, 10, 110, 110));
663663

664664
Call this function to move the rectangle to the absolute y-coordinate specified by *y*.
665665

666-
```
666+
```cpp
667667
void MoveToY(int y) throw();
668668
```
669669
@@ -685,7 +685,7 @@ ASSERT(rect == CRect(0, 10, 100, 110));
685685

686686
Normalizes `CRect` so that both the height and width are positive.
687687

688-
```
688+
```cpp
689689
void NormalizeRect() throw();
690690
```
691691

@@ -710,7 +710,7 @@ ASSERT(rect1 == rect2);
710710
711711
Moves `CRect` by the specified offsets.
712712
713-
```
713+
```cpp
714714
void OffsetRect(int x, int y) throw();
715715
void OffsetRect(POINT point) throw();
716716
void OffsetRect(SIZE size) throw();
@@ -774,7 +774,7 @@ See the example for [CRect::operator LPCRECT](#operator_lpcrect).
774774
775775
Assigns *srcRect* to `CRect`.
776776
777-
```
777+
```cpp
778778
void operator=(const RECT& srcRect) throw();
779779
```
780780

@@ -877,7 +877,7 @@ ASSERT(rect3 != test);
877877
878878
The first two overloads move `CRect` by the specified offsets.
879879
880-
```
880+
```cpp
881881
void operator+=(POINT point) throw();
882882
void operator+=(SIZE size) throw();
883883
void operator+=(LPCRECT lpRect) throw();
@@ -915,7 +915,7 @@ ASSERT(rect1 == rect2);
915915
916916
The first two overloads move `CRect` by the specified offsets.
917917
918-
```
918+
```cpp
919919
void operator-=(POINT point) throw();
920920
void operator-=(SIZE size) throw();
921921
void operator-=(LPCRECT lpRect) throw();
@@ -953,7 +953,7 @@ ASSERT(rect1 == rectResult);
953953
954954
Sets `CRect` equal to the intersection of `CRect` and `rect`.
955955
956-
```
956+
```cpp
957957
void operator&=(const RECT& rect) throw();
958958
```
959959

@@ -977,7 +977,7 @@ See the example for [CRect::IntersectRect](#intersectrect).
977977

978978
Sets `CRect` equal to the union of `CRect` and `rect`.
979979

980-
```
980+
```cpp
981981
void operator|=(const RECT& rect) throw();
982982
```
983983

@@ -1219,7 +1219,7 @@ ASSERT(rect.PtInRect(pt));
12191219

12201220
Sets the dimensions of `CRect` to the specified coordinates.
12211221

1222-
```
1222+
```cpp
12231223
void SetRect(int x1, int y1, int x2, int y2) throw();
12241224
```
12251225
@@ -1249,7 +1249,7 @@ ASSERT(rect == CRect(256, 256, 512, 512));
12491249

12501250
Makes `CRect` a null rectangle by setting all coordinates to zero.
12511251

1252-
```
1252+
```cpp
12531253
void SetRectEmpty() throw();
12541254
```
12551255

0 commit comments

Comments
 (0)