Flushes the shim database cache. This function should be called after installing a new shim database.
Syntax
BOOL WINAPI ShimFlushCache(
_In_opt_ HWND hwnd,
_In_opt_ HINSTANCE hInstance,
_In_opt_ LPCSTR lpszCmdLine,
_In_ int nCmdShow
);
Parameters
hwnd [in, optional]
Unused; must be 0.
hInstance [in, optional]
Unused; must be 0.
lpszCmdLine [in, optional]
Unused; must be 0.
nCmdShow [in]
Unused; must be 0.
Return value
The function returns TRUE on success or FALSE on failure.
Remarks
The caller must be an administrator.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| DLL | Apphelp.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
