start.c
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. #include "shprv.h"
  2. //
  3. // BUGBUG:: This temporary Thunk implementation is because there currently
  4. // is no legal way to do a Restart windows from the 32 bit side...
  5. BOOL WINAPI SHRestartWindows(DWORD dwReturn)
  6. {
  7.     return ExitWindows(dwReturn, 0);
  8. }
  9. //
  10. // Getting information to fill in the about box.
  11. //
  12. VOID WINAPI SHGetAboutInformation(LPWORD puSysResource, LPDWORD pcbFree)
  13. {
  14.     if (puSysResource)
  15.     {
  16.         *puSysResource = GetFreeSystemResources(0);
  17.     }
  18.     if (pcbFree)
  19.     {
  20.         *pcbFree = GetFreeSpace(GFS_PHYSICALRAMSIZE);
  21.     }
  22. }