Setcomplete – Kofax DM API User Manual

Page 282

Advertising
background image

262 C

HAPTER

4

SetComplete

SetComplete

For languages such as JavaScript and VBScript that do not give the user
explicit control over when an interface is released, use this call to release
all locks and other resources used by the stream. The stream is no
longer available for use after this call.

Note: If you have control over the release of interfaces, you should release the
interface rather than issuing this call to release the interface.

Syntax

PCDGetStream.SetComplete()

PCDPutStream.SetComplete()

Returns

Returns an

HRESULT

to receive the result of the call.

S_OK

indicates

success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.

Related Items

See the following objects:

PCDGetStream
PCDPutStream

See the following properties:

ErrDescription
ErrNumber

Advertising