Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WofWimRemoveEntry function

Removes a single WIM data source from backing files on a volume.

Syntax


HRESULT WINAPI WofWimRemoveEntry(
  _In_ PCWSTR        VolumeName,
  _In_ LARGE_INTEGER DataSourceId
);

Parameters

VolumeName [in]

The volume name which contained files whose data was provided by the WIM.

DataSourceId [in]

Identifes 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

Header

Wofapi.h

Library

Wofutil.lib

DLL

Wofutil.dll

See also

FSCTL_REMOVE_OVERLAY

 

 

Show:
© 2017 Microsoft