IStiDevice::Release method (sti.h)

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.

Syntax

ULONG Release();

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.

Requirements

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