Edit

CimDismountImage function (cimfs.h)

Dismounts an image mounted with volumeId as the volume GUID.

Syntax

HRESULT CimDismountImage(
  const GUID *volumeId
);

Parameters

volumeId

Type: GUID* Provides the volume GUID of the currently mounted image.

Return value

HRESULT HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) – The volume GUID specified does not refer to a volume for a mounted CIM image.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header cimfs.h
Library cimfs.lib