Export (0) Print
Expand All

ShimFlushCache function

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

DLL

Apphelp.dll

See also

BaseFlushAppcompatCache

 

 

Community Additions

ADD
Show:
© 2015 Microsoft