IPXV_Inst::RestartTimer Method

From PDF XChange PDF SDK
Jump to: navigation, search


Restarts the specified global timer, optionally with new time-out value.

Syntax

HRESULT RestartTimer([in]                   LONG_PTR  nTimerID,
                     [in, defaultvalue(0)]  ULONG     nNewElapse);

Parameters

nTimerID
[in] Specifies the ID of global timer.
nNewElapse
[in, defaultvalue(0)] Pass new non-zero time-out value, in milliseconds, to replace current, or pass 0 to keep unchanged the current value.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst, IPXV_Inst::StartTimer