search for: process_memory_count

Displaying 3 results from an estimated 3 matches for "process_memory_count".

2009 Mar 01
0
Re: A problem with GetProcessMemoryInfo?
I modified code to: #include <windows.h> #include "psapi.h" #include <stdio.h> #include <stdlib.h> #pragma comment ( lib, "psapi.lib" ) void GetCurrentProcessMemory () { PROCESS_MEMORY_COUNTERS pmc; printf("{\n}"); bool ret=GetProcessMemoryInfo ( GetCurrentProcess() , &pmc, sizeof ( pmc ) ); if (ret) printf("\n[successed: %d]", (int)pmc.WorkingSetSize); else printf("\n<failed>");...
2008 May 18
2
A problem with GetProcessMemoryInfo?
.../* result under windows: { } [successed: 1085440]{ } result under wine(linux): { } [successed: 0]{ */ #include <windows.h> #include "psapi.h" #include <stdio.h> #include <stdlib.h> #pragma comment ( lib, "psapi.lib" ) void GetCurrentProcessMemory () { PROCESS_MEMORY_COUNTERS pmc; printf("{\n}"); bool ret=GetProcessMemoryInfo ( GetCurrentProcess() , &pmc, sizeof ( pmc ) ); if (ret) printf("\n[successed: %d]", (int)pmc.WorkingSetSize); else printf("\n<failed>"); printf("{\n}"); } void main() { GetCurren...
2009 Jan 16
0
Wine release 1.1.13
...r the msvcrt build. urlmon/tests: Fix an uninitialized variable check for Win64. mshtml/tests: Fix the platform test for Win64. ole32/tests: Fix a structure size check for Win64. crypt32/tests: Fix handle size in CERT_KEY_PROV_HANDLE_PROP_ID for Win64. include: Fix the PROCESS_MEMORY_COUNTERS structure definition for Win64. jscript/tests: Don't crash if we fail to get the IActiveScriptParse interface. include: Fix 64-bit sign extension in the MAKEWPARAM/LPARAM macros. setupapi: Implemented SetupEnumInfSectionsA/W. setupapi/tests: Added some tests for Setup...