IStillImage::Release method

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

Syntax

HRESULT Release();

Parameters

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.

Remarks

Before calling IStillImage::Release, clients of the IStillImage COM interface must call IStillImage::StiCreateInstance to obtain an IStillImage interface pointer.

Requirements

Target platform

Desktop

Header

Sti.h (include Sti.h)

 

 

Send comments about this topic to Microsoft