 |
IsWow64Process ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Determines whether the specified process is running under WOW64. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL WINAPI IsWow64Process(
__in HANDLE hProcess,
__out PBOOL Wow64Process
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER IsWow64Process IN kernel32;
INTEGER hProcess,;
INTEGER @Wow64Process
|
 |
 |
 |
| Parameters: |
 |
hProcess [in]
A handle to the process. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right.
Wow64Process [out]
A pointer to a value that is set to TRUE if the process is running under WOW64. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a nonzero value. |
 |
 |
| Usage: |
 |
lWow64Process = 0
IsWow64Process(GetCurrentProcess(), @lWow64Process)
? IIF(lWow64Process = 0, "32-bit", "64-bit")
|
 |
 |
| Word Index links for the IsWow64Process : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2012-02-07 10:29:12 | | Modified: | 2012-02-07 10:46:35 | Visited in last 7 days: 19 |