IPXV_Inst::RestartTimer Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::RestartTimer Method}} | {{#customTitle:IPXV_Inst::RestartTimer Method}} | ||
+ | {{#parentPage:PXV:IPXV_Inst#Methods|RestartTimer|method}} | ||
+ | {{ToReview}} | ||
− | + | Restarts the specified global timer, optionally with new time-out value. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT RestartTimer([in] LONG_PTR nTimerID, [in, defaultvalue(0)] ULONG nNewElapse);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT RestartTimer([in] LONG_PTR nTimerID, |
+ | [in, defaultvalue(0)] ULONG nNewElapse);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nTimerID |
− | :[in] | + | :[in] Specifies the ID of global timer. |
− | ; | + | ;nNewElapse |
− | :[in, defaultvalue(0)] | + | :[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 == | == Return Value == | ||
Line 17: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_StartTimer|IPXV_Inst::StartTimer]] |
Latest revision as of 02:57, 15 June 2015
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.