std.StoreInCache

This job sends the specified document files to a enaio® client. If the client still has the document in the cache, it can calculate and pass the digest value. The server compares its own digest value with that of the client — if they are identical, the document is not transmitted again.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Options for the transfer:
0 = dia file and object are transferred
1 = only the object pages are transferred
2 = only the dia file of the object is transferred

dwObjectID

INT

Yes

ID of the object

dwObjectType

INT

Yes

Type of the selected document

DocState

INT

Yes

Indicates whether the document should be opened for reading or writing:
HIWORD = 0 = document is opened for writing
HIWORD = 1 = document is opened for reading

FileCount

INT

Yes

Number of files (not evaluated)

[Digest]

STRING

No

Digest value calculated by the client for the requested document

[IncludeDeleted]

BOOL

No

1 = documents in the trash bin are also considered

[IgnoreHashCheck]

BOOL

No

1 = hash value/signature check is disabled, even if enabled in the registry

[AddAnnotations]

BOOL

No

1 = annotations are burned into the image files

2. Output Parameters

Name Type Dependency Description

FileCount

INT

Number of files transferred to the cache

3. Return Value

(INT): 0 = Job successful, otherwise error code.