desktop.c (567b0700) desktop.c (291a94cd)
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Win32k subsystem
4 * PURPOSE: Desktops
5 * FILE: subsystems/win32/win32k/ntuser/desktop.c
6 * PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
7 */
8

--- 1330 unchanged lines hidden (view full) ---

1339PWND FASTCALL co_GetDesktopWindow(PWND pWnd)
1340{
1341 if (pWnd->head.rpdesk &&
1342 pWnd->head.rpdesk->pDeskInfo)
1343 return pWnd->head.rpdesk->pDeskInfo->spwnd;
1344 return NULL;
1345}
1346
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Win32k subsystem
4 * PURPOSE: Desktops
5 * FILE: subsystems/win32/win32k/ntuser/desktop.c
6 * PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
7 */
8

--- 1330 unchanged lines hidden (view full) ---

1339PWND FASTCALL co_GetDesktopWindow(PWND pWnd)
1340{
1341 if (pWnd->head.rpdesk &&
1342 pWnd->head.rpdesk->pDeskInfo)
1343 return pWnd->head.rpdesk->pDeskInfo->spwnd;
1344 return NULL;
1345}
1346
1347// Win: _GetDesktopWindow
1348HWND FASTCALL IntGetDesktopWindow(VOID)
1349{
1350 PDESKTOP pdo = IntGetActiveDesktop();
1351 if (!pdo)
1352 {
1353 TRACE("No active desktop\n");
1354 return NULL;
1355 }
1356 return pdo->DesktopWindow;
1357}
1358
1347HWND FASTCALL IntGetDesktopWindow(VOID)
1348{
1349 PDESKTOP pdo = IntGetActiveDesktop();
1350 if (!pdo)
1351 {
1352 TRACE("No active desktop\n");
1353 return NULL;
1354 }
1355 return pdo->DesktopWindow;
1356}
1357
1358// Win: _GetDesktopWindow
1359PWND FASTCALL UserGetDesktopWindow(VOID)
1360{
1361 PDESKTOP pdo = IntGetActiveDesktop();
1362
1363 if (!pdo)
1364 {
1365 TRACE("No active desktop\n");
1366 return NULL;
1367 }
1368 // return pdo->pDeskInfo->spwnd;
1369 return UserGetWindowObject(pdo->DesktopWindow);
1370}
1371
1359PWND FASTCALL UserGetDesktopWindow(VOID)
1360{
1361 PDESKTOP pdo = IntGetActiveDesktop();
1362
1363 if (!pdo)
1364 {
1365 TRACE("No active desktop\n");
1366 return NULL;
1367 }
1368 // return pdo->pDeskInfo->spwnd;
1369 return UserGetWindowObject(pdo->DesktopWindow);
1370}
1371
1372// Win: _GetMessageWindow
1373HWND FASTCALL IntGetMessageWindow(VOID)
1374{
1375 PDESKTOP pdo = IntGetActiveDesktop();
1376
1377 if (!pdo)
1378 {
1379 TRACE("No active desktop\n");
1380 return NULL;
1381 }
1382 return pdo->spwndMessage->head.h;
1383}
1384
1372HWND FASTCALL IntGetMessageWindow(VOID)
1373{
1374 PDESKTOP pdo = IntGetActiveDesktop();
1375
1376 if (!pdo)
1377 {
1378 TRACE("No active desktop\n");
1379 return NULL;
1380 }
1381 return pdo->spwndMessage->head.h;
1382}
1383
1384// Win: _GetMessageWindow
1385PWND FASTCALL UserGetMessageWindow(VOID)
1386{
1387 PDESKTOP pdo = IntGetActiveDesktop();
1388
1389 if (!pdo)
1390 {
1391 TRACE("No active desktop\n");
1392 return NULL;

--- 2042 unchanged lines hidden ---
1385PWND FASTCALL UserGetMessageWindow(VOID)
1386{
1387 PDESKTOP pdo = IntGetActiveDesktop();
1388
1389 if (!pdo)
1390 {
1391 TRACE("No active desktop\n");
1392 return NULL;

--- 2042 unchanged lines hidden ---