Location: Symbol Reference > Functions > JwCreateWaitableTimer Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwCreateWaitableTimer Function
Pascal
function JwCreateWaitableTimer(const TimeOut: DWORD; const SecurityAttributes: TObject = nil): THandle; overload;
Parameters 
Description 
const TimeOut: DWORD 
defines a signal interval in miliseconds (1sec = 1000msec)  
const SecurityAttributes: TObject = nil 
defines security attributes for the timer. The class type must be TJwSecurityDescriptor or a derivation.  

Returns a handle to the new timer object. Must be closed by CloseHandle. 

raise EJwsclClassTypeMismatch: If parameter SecurityAttributes is not nil and also not of the type TJwSecurityDescriptor, an exception EJwsclClassTypeMismatch is raised. EOSError: If any winapi calls fail, an exception EJwsclWinCallFailedException is raised.

JwCreateWaitableTimer creates a waitable timer handle. 

 

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!