if (md->handle == INVALID_HANDLE_VALUE)\r
goto free_md;\r
\r
- md->event = CreateEvent(NULL, EINA_FALSE, EINA_FALSE, NULL);\r
+ md->event = CreateEvent(NULL, FALSE, FALSE, NULL);\r
if (!md->event)\r
goto close_handle;\r
\r
if (!ReadDirectoryChangesW(md->handle,\r
md->buffer,\r
ECORE_FILE_MONITOR_WIN32_BUFFER_SIZE,\r
- EINA_FALSE,\r
+ FALSE,\r
filter,\r
&md->buf_length,\r
&md->overlapped,\r
\r
md = (Ecore_File_Monitor_Win32_Data *)data;\r
\r
- if (!GetOverlappedResult (md->handle, &md->overlapped, &buf_length, EINA_TRUE))\r
+ if (!GetOverlappedResult (md->handle, &md->overlapped, &buf_length, TRUE))\r
return 1;\r
\r
fni = (PFILE_NOTIFY_INFORMATION)md->buffer;\r
ReadDirectoryChangesW(md->handle,\r
md->buffer,\r
ECORE_FILE_MONITOR_WIN32_BUFFER_SIZE,\r
- EINA_FALSE,\r
+ FALSE,\r
filter,\r
&md->buf_length,\r
&md->overlapped,\r
return 0;
case WM_MOVING:
printf (" * ecore message : moving\n");
- return EINA_TRUE;
+ return TRUE;
case WM_MOVE:
printf (" * ecore message : moved\n");
return 0;
printf (" * ecore message : sizing\n");
_ecore_win32_event_handle_resize(data);
_ecore_win32_event_handle_configure_notify(data);
- return EINA_TRUE;
+ return TRUE;
case WM_SIZE:
printf (" * ecore message : sized\n");
return 0;
{
RECT rect;
- if (GetUpdateRect(window, &rect, EINA_FALSE))
+ if (GetUpdateRect(window, &rect, FALSE))
{
PAINTSTRUCT ps;
HDC hdc;
if (!MoveWindow(w, x, y,
rect.right - rect.left,
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
ERR("GetWindowLong() failed");
return;
}
- if (!AdjustWindowRect(&rect, style, EINA_FALSE))
+ if (!AdjustWindowRect(&rect, style, FALSE))
{
ERR("AdjustWindowRect() failed");
return;
if (!MoveWindow(w->window, x, y,
rect.right - rect.left,
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
ERR("GetWindowLong() failed");
return;
}
- if (!AdjustWindowRect(&rect, style, EINA_FALSE))
+ if (!AdjustWindowRect(&rect, style, FALSE))
{
ERR("AdjustWindowRect() failed");
return;
if (!MoveWindow(w->window, x, y,
rect.right - rect.left,
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
#endif
}
else
- if (!SetWindowRgn(wnd->window, NULL, EINA_TRUE))
+ if (!SetWindowRgn(wnd->window, NULL, TRUE))
{
ERR("SetWindowRgn() failed");
}
#if defined(WS_EX_LAYERED)
version_info.dwOSVersionInfoSize = sizeof(version_info);
- if (GetVersionEx(&version_info) == EINA_TRUE && version_info.dwMajorVersion == 5)
+ if (GetVersionEx(&version_info) == TRUE && version_info.dwMajorVersion == 5)
{
SetLastError(0);
if (!SetWindowLongPtr(wnd->window, GWL_EXSTYLE,
return;
}
}
- if (!SetWindowRgn(wnd->window, rgn, EINA_TRUE))
+ if (!SetWindowRgn(wnd->window, rgn, TRUE))
{
ERR("SetWindowRgn() failed");
}
return;
}
style |= WS_CAPTION | WS_THICKFRAME;
- if (!AdjustWindowRect (&rect, style, EINA_FALSE))
+ if (!AdjustWindowRect (&rect, style, FALSE))
{
ERR("AdjustWindowRect() failed");
return;
if (!MoveWindow(w, rect.left, y,
rect.right - rect.left,
height,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
if (!MoveWindow(w, 0, rect.top,
GetSystemMetrics(SM_CXSCREEN),
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
if (!MoveWindow(w, 0, 0,
GetSystemMetrics(SM_CXSCREEN),
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
rect.top = 0;
rect.right = width;
rect.bottom = height;
- if (!AdjustWindowRect(&rect, style, EINA_FALSE))
+ if (!AdjustWindowRect(&rect, style, FALSE))
{
ERR("AdjustWindowRect() failed");
free(w);
if (task_bar)
{
ShowWindow(task_bar, SW_SHOW);
- EnableWindow(task_bar, EINA_TRUE);
+ EnableWindow(task_bar, TRUE);
}
if (!UnregisterClass(ECORE_WINCE_WINDOW_CLASS, _ecore_wince_instance))
rect.top = 0;
rect.right = width;
rect.bottom = height;
- if (!AdjustWindowRectEx(&rect, WS_CAPTION | WS_SYSMENU | WS_VISIBLE, EINA_FALSE, WS_EX_TOPMOST))
+ if (!AdjustWindowRectEx(&rect, WS_CAPTION | WS_SYSMENU | WS_VISIBLE, FALSE, WS_EX_TOPMOST))
{
ERR("AdjustWindowRectEx() failed");
free(w);
if (!MoveWindow(w, x, y,
rect.right - rect.left,
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
ERR("GetWindowLong() failed");
return;
}
- if (!AdjustWindowRectEx(&rect, style, EINA_FALSE, exstyle))
+ if (!AdjustWindowRectEx(&rect, style, FALSE, exstyle))
{
ERR("AdjustWindowRectEx() failed");
return;
if (!MoveWindow(w->window, x, y,
rect.right - rect.left,
rect.bottom - rect.top,
- EINA_FALSE))
+ FALSE))
{
ERR("MoveWindow() failed");
}
ERR("GetWindowLong() failed");
return;
}
- if (!AdjustWindowRectEx(&rect, style, EINA_FALSE, exstyle))
+ if (!AdjustWindowRectEx(&rect, style, FALSE, exstyle))
{
ERR("AdjustWindowRectEx() failed");
return;
if (!MoveWindow(w->window, x, y,
rect.right - rect.left,
rect.bottom - rect.top,
- EINA_TRUE))
+ TRUE))
{
ERR("MoveWindow() failed");
}
{
INF("ShowWindow(): task bar already hidden");
}
- if (!EnableWindow(task_bar, EINA_FALSE))
+ if (!EnableWindow(task_bar, FALSE))
{
INF("EnableWindow(): input already disabled");
}
if (!MoveWindow(w,
0, 0,
GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN),
- EINA_TRUE))
+ TRUE))
{
INF("MoveWindow() failed");
}
{
INF("ShowWindow(): task bar already visible");
}
- if (!EnableWindow(task_bar, EINA_TRUE))
+ if (!EnableWindow(task_bar, TRUE))
{
INF("EnableWindow(): input already enabled");
}
ew->rect.top,
ew->rect.right - ew->rect.left,
ew->rect.bottom - ew->rect.top,
- EINA_TRUE))
+ TRUE))
{
INF("MoveWindow() failed");
}