clSetAimStatus  clSleep

Chapter 2: Bridged Functions

clSetDfcTimeout

Description

Overrides the default DFC timeout to the value specified. This is useful if you know that the contents of a particular call takes an abnormally long time to process.

Syntax

int clSetDfcTimeout(int timeout);

Parameter

Description

timeout

Timeout value in seconds and greater than 0.

Return value

Integer.

Returns 1 for success, and 0 for failure.

Examples

Example 17

int new_timeout = 120;
clSetDfcTimeout(new_timeout);
// issue DFC command here

Example 18

clSetDfcTimeout(120)
// issue DFC command here




Copyright © 2005. Sybase Inc. All rights reserved. clSleep

View this book as PDF