BOOL FlushInstructionCache(hProcess, lpvBase, cbFlush) | |||
HANDLE hProcess; | |||
LPVOID lpvBase; | |||
DWORD cbFlush; |
The FlushInstructionCache function flushes the instruction cache for the specified process.
hProcess
Identifies the process where the instruction cache is to be flushed.
lpvBase
Points to the base of the region that is flushed. This parameter can be NULL.
cbFlush
Specifies the length of the region that is flushed if lpvBase is not NULL.
The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.