summaryrefslogtreecommitdiff
path: root/wince
diff options
context:
space:
mode:
Diffstat (limited to 'wince')
-rw-r--r--wince/env.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/wince/env.c b/wince/env.c
index b3400627..c90b4c8d 100644
--- a/wince/env.c
+++ b/wince/env.c
@@ -49,7 +49,6 @@ static int ReadOwnerName(wchar_t *value, DWORD len)
L"\\ControlPanel\\Owner", 0,
KEY_READ, &key) != ERROR_SUCCESS)
{
- MessageBoxW(NULL, L"Can't open owner", L"Error", MB_OK);
return 0;
}
@@ -58,12 +57,9 @@ static int ReadOwnerName(wchar_t *value, DWORD len)
if (RegQueryValueExW(key, L"Name", NULL, &valtype,
(LPBYTE) value, &len) != ERROR_SUCCESS)
{
- MessageBoxW(NULL, L"Can't read owner", L"Error", MB_OK);
return 0;
}
- MessageBoxW(NULL, value, L"Error", MB_OK);
-
// Close the key
RegCloseKey(key);