Using Win32 functions in Visual FoxPro Image Gallery
Process and Thread
..msdn
AssignProcessToJobObject
CommandLineToArgvW
CreateJobObject
CreateProcess
CreateProcessAsUser
CreateProcessWithLogonW
ExitProcess
FreeEnvironmentStrings
GetCommandLine
GetCurrentProcess
GetCurrentProcessId
GetCurrentThread
GetCurrentThreadId
GetEnvironmentStrings
GetEnvironmentVariable
GetPriorityClass
GetProcessIoCounters
GetProcessTimes
GetProcessVersion
GetStartupInfo
GetThreadPriority
IsWow64Process
OpenProcess
RegisterServiceProcess
SetEnvironmentVariable
SetPriorityClass
SetThreadPriority
Sleep
TerminateJobObject
TerminateProcess
WinExec
Code examples:
Obtaining I/O counts for the current process
GetProcessIoCounters
..msdn    Add comment     W32 Constants      Translate this page
Retrieves accounting information for all I/O operations performed by the specified process.
Code examples:
Obtaining I/O counts for the current process
Declaration:
BOOL WINAPI GetProcessIoCounters(
    __in   HANDLE hProcess,
    __out  PIO_COUNTERS lpIoCounters
);

FoxPro declaration:
DECLARE INTEGER GetProcessIoCounters IN kernel32;
    INTEGER hProcess,;
    STRING @lpIoCounters
Parameters:
hProcess
A handle to the process. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right.

lpIoCounters
A pointer to an IO_COUNTERS structure that receives the I/O accounting information for the process.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
cBuffer = REPLICATE(CHR(0), 48)  && IO_COUNTERS structure
= GetProcessIoCounters(hProcess, @cBuffer)
My comment:
See also: GetProcessTimes, GetProcessVersion, GetProcessMemoryInfo
Word Index links for the GetProcessIoCounters :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-03-26 17:11:14
Modified: 2008-03-26 17:20:20
Visited in last 7 days: 12
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.198.2.110)
12 sec.Example: 'Windows Shell Icons displayed and exported to ICO files (Vista)'
27 sec.Function: 'CreateSymbolicLink'
Function group: 'File Management'
42 sec.Examples
59 sec.Gallery
1.23 min.Example: 'GDI+: Using Scale and Shear transformations'
1.47 min.Function: 'mixerClose'
Function group: 'Windows Multimedia'
1.68 min.Function: 'FrameRgn'
Function group: 'Region'
1.97 min.Function: 'SQLManageDataSources'
Function group: 'ODBC API'
2.23 min.All Functions
2.52 min.Function: 'SetVolumeMountPoint'
Function group: 'File System'
Google
Advertise here!