Skip to content

Commit 3726539

Browse files
authored
Wrap multiple function prototypes in a line
1 parent 7e272e0 commit 3726539

File tree

9 files changed

+38
-18
lines changed

9 files changed

+38
-18
lines changed

docs/cppcx/platform-intptr-value-class.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ Initializes a new instance of an IntPtr with the specified value.
4343
### Syntax
4444
4545
```cpp
46-
IntPtr( __int64 handle-or-pointer ); IntPtr( void* value ); IntPtr( int 32-bit_value );
46+
IntPtr( __int64 handle-or-pointer );
47+
IntPtr( void* value );
48+
IntPtr( int 32-bit_value );
4749
```
4850

4951
### Parameters
@@ -58,7 +60,9 @@ Converts the specified parameter to an IntPtr or a pointer to an IntPtr value.
5860
### Syntax
5961

6062
```cpp
61-
static IntPtr::operator IntPtr( void* value1); static IntPtr::operator IntPtr( int value2); static IntPtr::operator void*( IntPtr value3 );
63+
static IntPtr::operator IntPtr( void* value1);
64+
static IntPtr::operator IntPtr( int value2);
65+
static IntPtr::operator void*( IntPtr value3 );
6266
```
6367
6468
### Parameters

docs/cppcx/platform-sizet-value-class.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ Initializes a new instance of SizeT with the specified value.
4040
### Syntax
4141
4242
```cpp
43-
SizeT( uint32 value1 ); SizeT( void* value2 );
43+
SizeT( uint32 value1 );
44+
SizeT( void* value2 );
4445
```
4546

4647
### Parameters

docs/mfc/reference/cmonthcalctrl-class.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ The next code example reports which view the month calendar control currently di
304304
Retrieves the system time as indicated by the currently-selected date.
305305

306306
```
307-
BOOL GetCurSel(COleDateTime& refDateTime) const; BOOL GetCurSel(CTime& refDateTime) const;
307+
BOOL GetCurSel(COleDateTime& refDateTime) const;
308+
BOOL GetCurSel(CTime& refDateTime) const;
308309
309310
BOOL GetCurSel(LPSYSTEMTIME pDateTime) const;
310311
```
@@ -595,7 +596,8 @@ In MFC's implementation of `GetSelRange`, you can specify `COleDateTime` usage,
595596
Retrieves the date information for the date specified as "today" for a month calendar control.
596597

597598
```
598-
BOOL GetToday(COleDateTime& refDateTime) const; BOOL GetToday(COleDateTime& refDateTime) const;
599+
BOOL GetToday(COleDateTime& refDateTime) const;
600+
BOOL GetToday(COleDateTime& refDateTime) const;
599601
600602
BOOL GetToday(LPSYSTEMTIME pDateTime) const;
601603
```

docs/mfc/reference/colesafearray-class.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,11 +554,14 @@ A brief description of each operator follows:
554554
This operator compares two arrays (`SAFEARRAY`, `VARIANT`, `COleVariant`, or `COleSafeArray` arrays) and returns nonzero if they are equal; otherwise 0.
555555

556556
```
557-
BOOL operator==(const SAFEARRAY& saSrc) const; BOOL operator==(LPCSAFEARRAY pSrc) const;
557+
BOOL operator==(const SAFEARRAY& saSrc) const;
558+
BOOL operator==(LPCSAFEARRAY pSrc) const;
558559
559-
BOOL operator==(const COleSafeArray& saSrc) const; BOOL operator==(const VARIANT& varSrc) const;
560+
BOOL operator==(const COleSafeArray& saSrc) const;
561+
BOOL operator==(const VARIANT& varSrc) const;
560562
561-
BOOL operator==(LPCVARIANT pSrc) const; BOOL operator==(const COleVariant& varSrc) const;
563+
BOOL operator==(LPCVARIANT pSrc) const;
564+
BOOL operator==(const COleVariant& varSrc) const;
562565
```
563566

564567
### Remarks

docs/mfc/reference/cricheditctrl-class.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@ For more information, see [`EM_POSFROMCHAR`](/windows/win32/Controls/em-posfromc
553553
Gets the default character formatting attributes of this `CRichEditCtrl` object.
554554

555555
```
556-
DWORD GetDefaultCharFormat(CHARFORMAT& cf) const; DWORD GetDefaultCharFormat(CHARFORMAT2& cf) const;
556+
DWORD GetDefaultCharFormat(CHARFORMAT& cf) const;
557+
DWORD GetDefaultCharFormat(CHARFORMAT2& cf) const;
557558
```
558559

559560
### Parameters
@@ -759,7 +760,8 @@ A combination of the current option flag values. For a list of these values, see
759760
Gets the paragraph formatting attributes of the current selection.
760761

761762
```
762-
DWORD GetParaFormat(PARAFORMAT& pf) const; DWORD GetParaFormat(PARAFORMAT2& pf) const;
763+
DWORD GetParaFormat(PARAFORMAT& pf) const;
764+
DWORD GetParaFormat(PARAFORMAT2& pf) const;
763765
```
764766

765767
### Parameters
@@ -892,7 +894,8 @@ For more information, see [`EM_EXGETSEL`](/windows/win32/Controls/em-exgetsel) m
892894
Gets the character formatting attributes of the current selection.
893895

894896
```
895-
DWORD GetSelectionCharFormat(CHARFORMAT& cf) const; DWORD GetSelectionCharFormat(CHARFORMAT2& cf) const;
897+
DWORD GetSelectionCharFormat(CHARFORMAT& cf) const;
898+
DWORD GetSelectionCharFormat(CHARFORMAT2& cf) const;
896899
```
897900

898901
### Parameters
@@ -951,7 +954,8 @@ For more information, see [`EM_SELECTIONTYPE`](/windows/win32/Controls/em-select
951954
Retrieves the text from the current selection in this `CRichEditCtrl` object.
952955

953956
```
954-
long GetSelText(LPSTR lpBuf) const; CString GetSelText() const;
957+
long GetSelText(LPSTR lpBuf) const;
958+
CString GetSelText() const;
955959
```
956960

957961
### Parameters

docs/mfc/reference/cspinbuttonctrl-class.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ A pointer to the current buddy window.
201201
Retrieves the current position of a spin button control.
202202

203203
```
204-
int GetPos() const; int GetPos32(LPBOOL lpbError = NULL) const;
204+
int GetPos() const;
205+
int GetPos32(LPBOOL lpbError = NULL) const;
205206
```
206207

207208
### Parameters

docs/mfc/reference/cstatusbar-class.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ For a list of styles available for status bars, see [Create](#create).
306306
Call this member function to retrieve the text that appears in a status-bar pane.
307307

308308
```
309-
CString GetPaneText(int nIndex) const; void GetPaneText(int nIndex, CString& rString) const;
309+
CString GetPaneText(int nIndex) const;
310+
void GetPaneText(int nIndex, CString& rString) const;
310311
```
311312

312313
### Parameters

docs/mfc/reference/cwinapp-class.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,8 @@ Taskbar interaction means that MDI application displays the content of MDI child
896896
Loads the cursor resource named by *lpszResourceName* or specified by *nIDResource* from the current executable file.
897897

898898
```
899-
HCURSOR LoadCursor(LPCTSTR lpszResourceName) const; HCURSOR LoadCursor(UINT nIDResource) const;
899+
HCURSOR LoadCursor(LPCTSTR lpszResourceName) const;
900+
HCURSOR LoadCursor(UINT nIDResource) const;
900901
```
901902

902903
### Parameters
@@ -926,7 +927,8 @@ Use the [LoadStandardCursor](#loadstandardcursor) or [LoadOEMCursor](#loadoemcur
926927
Loads the icon resource named by *lpszResourceName* or specified by *nIDResource* from the executable file.
927928

928929
```
929-
HICON LoadIcon(LPCTSTR lpszResourceName) const; HICON LoadIcon(UINT nIDResource) const;
930+
HICON LoadIcon(LPCTSTR lpszResourceName) const;
931+
HICON LoadIcon(UINT nIDResource) const;
930932
```
931933

932934
### Parameters

docs/mfc/reference/cwnd-class.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,8 @@ The `CWnd`* that is returned may be temporary and shouldn't be stored for later
10241024
Converts the client coordinates of a given point or rectangle on the display to screen coordinates.
10251025

10261026
```cpp
1027-
void ClientToScreen(LPPOINT lpPoint) const; void ClientToScreen(LPRECT lpRect) const;
1027+
void ClientToScreen(LPPOINT lpPoint) const;
1028+
void ClientToScreen(LPRECT lpRect) const;
10281029
```
10291030

10301031
### Parameters
@@ -10174,7 +10175,8 @@ By default, `ContinueModal` returns `FALSE` after `EndModalLoop` is called. Retu
1017410175
Converts the screen coordinates of a given point or rectangle on the display to client coordinates.
1017510176

1017610177
```cpp
10177-
void ScreenToClient(LPPOINT lpPoint) const; void ScreenToClient(LPRECT lpRect) const;
10178+
void ScreenToClient(LPPOINT lpPoint) const;
10179+
void ScreenToClient(LPRECT lpRect) const;
1017810180
```
1017910181

1018010182
### Parameters

0 commit comments

Comments
 (0)