WIMDeleteImageMounts
Removes images from all directories where they have been previously mounted.
BOOL
WINAPI
WIMDeleteImageMounts(
DWORD dwDeleteFlags
);
Parameters
dwDeleteFlags
[in] Specifies which types of images are to be removed.
Flag | Description |
---|---|
0 |
Removes only images that are not actively mounted. |
WIM_DELETE_MOUNTS_ALL |
Removes all mounted images, whether actively mounted or not. |
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To obtain extended error information, call the GetLastError function.
See Also
Concepts
WIMMountImage
WIMMountImageHandle
WIMUnmountImage
WIMUnmountImageHandle