IDispenserDriver::ResetResource method (comsvcs.h)

Prepares the resource to be put back into general or enlisted inventory.

Syntax

HRESULT ResetResource(
  [in] const RESID ResId
);

Parameters

[in] ResId

The resource to be reset.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
ResId is not a valid resource handle.
E_FAIL
The method failed.

Remarks

The resource may still be enlisted at this time, so ResetResource cannot disrupt the enlistment.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IDispenserDriver