Windows Dev Center

DismDelete Function

Releases resources held by a structure or an array of structures returned by other DISM API functions.

HRESULT WINAPI DismDelete(
    _In_ VOID* DismStructure
    );

Parameters

 

Parameter Name Description

DismStructure

A pointer to the structure, or array of structures, to be deleted. The structure must have been returned by an earlier call to a DISM API function.

Returns S_OK on success.

All structures that are returned by DISM API functions are allocated on the heap. The client must not delete or free these structures directly. Instead, the client should call DismDelete and pass in the pointer that was returned by the earlier DISM API call.

HRESULT hr = S_OK; 
hr = DismDelete(ImageInfo);

 

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.

Other Resources

DISM API Structures

Show:
© 2015 Microsoft