DismCleanupMountPoints function

Removes files and releases resources associated with corrupted or invalid mount paths.

Syntax

HRESULT WINAPI DismCleanupMountPoints(void);

Parameters

This function has no parameters.

Return value

Returns S_OK on success.

Example

HRESULT hr = S_OK;
hr = DismCleanupMountpoints();

Requirements

Requirement Description
Supported host platforms DISM API can be used on any operating system supported by the Windows Assessment and Deployment Kit (Windows ADK). For more information, see the Windows ADK Technical Reference.
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header DismAPI.h
Library DismAPI.lib
DLL DismAPI.dll

See also

DismUnmountImage

DismDelete