Skip to content

Commit ce9e487

Browse files
authored
Merge pull request #2084 from nikita-leontiev/listview_setview
ListView_SetView article update to match the SDK
2 parents dbe40e7 + 23addfc commit ce9e487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk-api-src/content/commctrl/nf-commctrl-listview_setview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ api_name:
5050
## -syntax
5151

5252
```cpp
53-
int ListView_SetView(
53+
DWORD ListView_SetView(
5454
 HWND  hwnd,
5555
 DWORD iView
5656
);
5757
```
5858

5959
## -returns
6060

61-
Type: **int**
61+
Type: **DWORD**
6262

63-
Returns 1 if successful, or -1 otherwise. For example, returns -1 if the view is invalid.
63+
Returns 1 if successful, or UINT_MAX otherwise. For example, returns UINT_MAX if the view is invalid.
6464

6565

6666
## -description

0 commit comments

Comments
 (0)