diff --git a/sdk-api-src/content/windowsx/nf-windowsx-button_getcheck.md b/sdk-api-src/content/windowsx/nf-windowsx-button_getcheck.md index 1f944029756..04961cad901 100644 --- a/sdk-api-src/content/windowsx/nf-windowsx-button_getcheck.md +++ b/sdk-api-src/content/windowsx/nf-windowsx-button_getcheck.md @@ -50,14 +50,14 @@ api_name: ## -syntax ```cpp -LRESULT Button_GetCheck( +int Button_GetCheck(  HWND hwndCtl ); ``` ## -returns -Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)** +Type: **int** The return value from a button created with the BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_AUTO3STATE, BS_CHECKBOX, BS_RADIOBUTTON, or BS_3STATE style can be one of the following: diff --git a/sdk-api-src/content/windowsx/nf-windowsx-button_getstate.md b/sdk-api-src/content/windowsx/nf-windowsx-button_getstate.md index 00f0c5fddb9..8d51a3f0d3c 100644 --- a/sdk-api-src/content/windowsx/nf-windowsx-button_getstate.md +++ b/sdk-api-src/content/windowsx/nf-windowsx-button_getstate.md @@ -50,14 +50,14 @@ api_name: ## -syntax ```cpp -LRESULT Button_GetState( +int Button_GetState(  HWND hwndCtl ); ``` ## -returns -Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)** +Type: **int** The return value specifies the current state of the button. It is a combination of the following values: diff --git a/sdk-api-src/content/windowsx/nf-windowsx-button_setcheck.md b/sdk-api-src/content/windowsx/nf-windowsx-button_setcheck.md index cd2abb93952..140b0035e63 100644 --- a/sdk-api-src/content/windowsx/nf-windowsx-button_setcheck.md +++ b/sdk-api-src/content/windowsx/nf-windowsx-button_setcheck.md @@ -50,18 +50,12 @@ api_name: ## -syntax ```cpp -LRESULT Button_SetCheck( +void Button_SetCheck(  HWND hwndCtl,  int  check ); ``` -## -returns - -Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)** - -The return value is always zero. - ## -description diff --git a/sdk-api-src/content/windowsx/nf-windowsx-button_setstate.md b/sdk-api-src/content/windowsx/nf-windowsx-button_setstate.md index a234415599c..95aa35917f5 100644 --- a/sdk-api-src/content/windowsx/nf-windowsx-button_setstate.md +++ b/sdk-api-src/content/windowsx/nf-windowsx-button_setstate.md @@ -50,7 +50,7 @@ api_name: ## -syntax ```cpp -LRESULT Button_SetState( +UINT Button_SetState(  HWND hwndCtl,  BOOL state ); @@ -58,7 +58,7 @@ LRESULT Button_SetState( ## -returns -Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)** +Type: **[UINT](/windows/desktop/winprog/windows-data-types)** The return value is always zero. diff --git a/sdk-api-src/content/windowsx/nf-windowsx-button_setstyle.md b/sdk-api-src/content/windowsx/nf-windowsx-button_setstyle.md index a2e8f11d7ad..a16f68d991e 100644 --- a/sdk-api-src/content/windowsx/nf-windowsx-button_setstyle.md +++ b/sdk-api-src/content/windowsx/nf-windowsx-button_setstyle.md @@ -50,19 +50,13 @@ api_name: ## -syntax ```cpp -LRESULT Button_SetStyle( +void Button_SetStyle(  HWND  hwndCtl,  DWORD style,  BOOL  fRedraw ); ``` -## -returns - -Type: **[LRESULT](/windows/desktop/winprog/windows-data-types)** - -The return value is always zero. - ## -description