IHolder::RequestDestroyResource method
Deletes a resource, calling its destructor to free memory and other associated system resources.
Syntax
HRESULT RequestDestroyResource( [in] const RESID ResId );
Parameters
- ResId [in]
-
The resource to be destroyed.
Return value
This method can return the following values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
ResId is not a valid resource handle. |
|
The method failed. The resource has not been destroyed. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Community Additions
ADD
Show: