 |
GetPerformanceInfo ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves the performance values contained in the PERFORMANCE_INFORMATION structure. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL WINAPI GetPerformanceInfo(
__out PPERFORMANCE_INFORMATION
pPerformanceInformation,
__in DWORD cb
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetPerformanceInfo in psapi;
STRING @pPerfInfo,;
LONG cb
|
 |
 |
 |
| Parameters: |
 |
pPerformanceInformation [out]
A pointer to a PERFORMANCE_INFORMATION structure that receives the performance information.
cb [in]
The size of the PERFORMANCE_INFORMATION structure, in bytes. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError. |
 |
 |
| Usage: |
 |
nBufSize = 56 && the size of the structure
cBuffer = PADR( CHR(nBufSize), nBufSize )
= GetPerformanceInfo( @cBuffer, nBufSize )
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2010-07-11 02:13:02 | | Modified: | 2010-07-11 02:20:13 | Visited in last 7 days: 30 |