GetCachePath Function

Gets the path to the cached assembly, using the specified flags.

HRESULT GetCachePath (
    [in]      ASM_CACHE_FLAGS  dwCacheFlags,
    [in]      LPWSTR           pwzCachePath,
    [in, out] PDWORD           pcchPath
 );

Parameters

  • dwCacheFlags
    [in] An ASM_CACHE_FLAGS value that indicates the source of the cached assembly.

  • pwzCachePath
    [out] The returned pointer to the path.

  • pcchPath
    [in, out] The requested maximum length of pwzCachePath, and upon return, the actual length of pwzCachePath.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Fusion.h

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ASM_CACHE_FLAGS Enumeration

Other Resources

Fusion Global Static Functions

Change History

Date

History

Reason

July 2009

Corrected dwCacheFlags description: enumeration values cannot be combined.

Content bug fix.