Windows2000/private/shell/win16/shell16/start.c

26 lines
549 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#include "shprv.h"
// BUGBUG:: This temporary Thunk implementation is because there currently
// is no legal way to do a Restart windows from the 32 bit side...
BOOL WINAPI SHRestartWindows(DWORD dwReturn)
{
return ExitWindows(dwReturn, 0);
}
// Getting information to fill in the about box.
VOID WINAPI SHGetAboutInformation(LPWORD puSysResource, LPDWORD pcbFree)
{
if (puSysResource)
{
*puSysResource = GetFreeSystemResources(0);
}
if (pcbFree)
{
*pcbFree = GetFreeSpace(GFS_PHYSICALRAMSIZE);
}
}