IDispenserDriver::ResetResource method

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

Syntax


HRESULT ResetResource(
  [inconst RESID ResId
);

Parameters

ResId [in]

The resource to be reset.

Return value

This method can return the following values.

Return codeDescription
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

See also

IDispenserDriver

 

 

Community Additions

ADD
Show: