??? ???????? ?????? ??? ?? ??? ????????? ??? ????? ???? ??????? ?????? ????? ??

?????? ????????? ?????? ?????????
???? ???????: 293215 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ???? ??? ????????? ??? ??????? ?????? ???? ????? "?????" ?? ????? ?????? ????? ?? ?? ???? ??? ???? "?????" ????? ?? ???? ??? ?????? ?????? ????? ???????. ??? ??? ?????? RAM ????????? ???????. ????? ??? ??????? ?? ????? ???? ???????? ?????? ???? ????? poorer ???? ??? ???? ????? ????? ??????? ?????? ?? ??? ???? ?? RAM.

??????? ????

??? ??? ????? ????? ???? ??????? ?????? ????? ?? ???? ????? ?????? ??????? API ShowWindow() ?????? ????? SW_MINIMIZE ? ???? ????? ?????? ????? ???????. ??? ???? ????? ????? ???? ?? ???????? ??? ????? ?????? ??????? ???? ???? ??????? ?? ShowWindow() ???? ?????? ????? SW_SHOWMINIMIZED.

?????? ??? ?? ????? ?? ?????? ????? ??????? ???????? ?????? ??? ??????? ?? ??????? RAM ???????. ??? ?????? ??? ??? ??????? ???? ???? ??? ??????? ??? ??????? ????? ?????? ???? ????????? ???????? ??? ????? ??? ????.

???? ????? ????? ?????? ????? ?????? ?? ???? ???? ?? ???? ??????? API SetProcessWorkingSetSize() ????? ????? "-1" ?????? dwMinimumWorkingSetSize ? dwMaximumWorkingSetSize. ??? ???? ????? ????? ????? ?????? ???? ??????? ??? ????? ???? ??????? ?????? ????? ??. ??? ?? ???? ??? ??? ????? ????? ??????? ?????? ?????? ??????? ?????? ?? RAM. ?? ???????? ?? ??? ??? ??????? ??????? ????? ??????. ??? ??? ??? ?????? ???? ???? ????????? ?????? ??????? ???? ??? ???????. ??? ???? ???? ????? ?? ?????? ???????? ???????? ???????? ?????? ???????.

??? ????? ???? ???? ????? "?????" ?? ????? ?????? ????? ?? ?? ???? ????? ?????? ????? ????? WM_SYSCOMMAND ?????? ????? SC_MINIMIZE. ??? ??? ??????? ???? ??? ??????? ??? ??????? ?????? ????????? ?????? ?????? DefWindowProc() ????????? ? ????? ??????? ??????? ????????? ??????? ?????? ??????? ShowWindow() ?????? ????? SW_MINIMIZE. ??? ?? ????? ??????? ? ????? ??? ????? ???? ?????? ??? ????????.

????? ????? ??? ??????? ???? ???? ????? ??? ?????? ?????? ????? ?????? ??? ????????. ?????? ???? ??????? ?????? ????? ??????? ?????? ??? ?? ????? ??????? WM_SYSCOMMAND ?????????? ????? SC_MINIMIZE ???? ShowWindow() ????????? ?????? ?????? ????? SW_SHOWMINIMIZED. ??? ?? ??? ?? ????? ????? SC_MINIMIZE ??? DefWindowProc().

??? ?????

???????? ???????? ??????? ???? ????? ????? ????? ???? ????? ??????? WM_SYSCOMMAND ????? ??????? ?????? ????????? ???? ?????? ????? ??????? ??? ????????:
LRESULT CALLBACK WndProc (HWND hWnd, UINT iMsg, WPARAM wParam, 
      LPARAM lParam) {

   switch (iMsg) {

      case WM_SYSCOMMAND:
         if (wParam == SC_MINIMIZE) {

            // programmatically minimize the window
            ShowWindow(hWnd, SW_SHOWMINIMIZED);

            // do not pass the minimize command on to the system's
            // default window procedure
            return 0;
         }

         // allow other system commands to be passed on to the
         // default window procedure
         break; 

      // handle other window messages here...
      case WM_WHATEVER:
         break;
   }

   return DefWindowProc(hWnd, iMsg, wParam, lParam);
}
				

???????

???? ???????: 293215 - ????? ??? ??????: 30/????/1427 - ??????: 5.1
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows XP
????? ??????: 
kbmt kbapi kbkernbase kbmemory kbprb KB293215 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????293215

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com