[NETAPI32_WINETEST] Sync with Wine Staging 1.7.43.
[reactos.git] / rostests / winetests / netapi32 / wksta.c
index 5d1d8ac..ee3004e 100644 (file)
@@ -44,7 +44,7 @@ static NET_API_STATUS (WINAPI *pNetGetJoinInformation)(LPCWSTR,LPWSTR*,PNETSETUP
 static WCHAR user_name[UNLEN + 1];
 static WCHAR computer_name[MAX_COMPUTERNAME_LENGTH + 1];
 
-static int init_wksta_tests(void)
+static BOOL init_wksta_tests(void)
 {
     DWORD dwSize;
     BOOL rc;
@@ -54,14 +54,14 @@ static int init_wksta_tests(void)
     rc=GetUserNameW(user_name, &dwSize);
     if (rc==FALSE && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED) {
         win_skip("GetUserNameW is not implemented\n");
-        return 0;
+        return FALSE;
     }
     ok(rc, "User Name Retrieved\n");
 
     computer_name[0] = 0;
     dwSize = sizeof(computer_name)/sizeof(computer_name[0]);
     ok(GetComputerNameW(computer_name, &dwSize), "Computer Name Retrieved\n");
-    return 1;
+    return TRUE;
 }
 
 static void run_get_comp_name_tests(void)