Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions sdk-api-src/content/commctrl/nf-commctrl-edit_getendofline.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,22 @@ api_name:
- Edit_GetEndOfLine
---

# Edit_GetEndOfLine macro


## -description



Gets the end of line character used for the content of the edit control. You can use this macro or send the <a href="/windows/desktop/controls/em-getendofline">EM_GETENDOFLINE</a> message explicitly.

## -parameters

### -param hwndCtl

A handle to the edit control.
A handle to the edit control.

## Return value

Returns the end-of-line character used by the edit control, which can be one of the following **EC_ENDOFLINE** values.

| Value | Meaning |
|-|-|
| **EC_ENDOFLINE_CRLF** | The end-of-line character used for new linebreaks is carriage return followed by linefeed (CRLF). |
| **EC_ENDOFLINE_CR** | The end-of-line character used for new linebreaks is carriage return (CR). |
| **EC_ENDOFLINE_LF** | The end-of-line character used for new linebreaks is linefeed (LF). |