IStiDevice::Release method

The IStiDevice::Release method closes the instance of the COM object that was created by a previous call to IStillImage::CreateDevice, and removes access to the object's interface.


ULONG Release();


This method has no parameters.

Return value

If the operation succeeds, the method returns S_OK. Otherwise, it returns one of the STIERR-prefixed error codes defined in stierr.h.


Target Platform Desktop
Header sti.h (include Sti.h)