WofWimRemoveEntry function (wofapi.h)
Removes a single WIM data source from backing files on a volume.
Syntax
HRESULT WofWimRemoveEntry(
[in] PCWSTR VolumeName,
[in] LARGE_INTEGER DataSourceId
);
Parameters
[in] VolumeName
The volume name which contained files whose data was provided by the WIM.
[in] DataSourceId
Identifies the WIM entry.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If the volume currently has files whose data is derived from the WIM file, the data for those files will become permanently inaccessible. It is good practice to remove any files referring to the WIM file prior to removing the data source from a volume. Once all data sources for a WIM file have been removed, the WIM file itself can be renamed or deleted.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wofapi.h |
Library | Wofutil.lib |
DLL | Wofutil.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for