IPXV_Inst::StartTimer Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IPXV_Inst::StartTimer Method}} | {{#customTitle:IPXV_Inst::StartTimer Method}} | ||
{{#parentPage:PXV:IPXV_Inst#Methods|StartTimer|method}} | {{#parentPage:PXV:IPXV_Inst#Methods|StartTimer|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | Starts the custom global timer. | + | Starts the new custom global timer. |
== Syntax == | == Syntax == | ||
Line 12: | Line 11: | ||
[in] ULONG nElapse, | [in] ULONG nElapse, | ||
[in, defaultvalue(0)] ULONG nFlags, | [in, defaultvalue(0)] ULONG nFlags, | ||
− | [out, retval] LONG_PTR* | + | [out, retval] LONG_PTR* nNewTimerID);</pre> |
== Parameters == | == Parameters == | ||
Line 20: | Line 19: | ||
:[in] The time-out value in milliseconds. | :[in] The time-out value in milliseconds. | ||
;nFlags | ;nFlags | ||
− | :[in, defaultvalue(0)] | + | :[in, defaultvalue(0)] Indicates additional flags for timer creation. See [[PXV:PXV_TimerFlags|PXV_TimerFlags]]. |
− | ; | + | ;nNewTimerID |
:[out, retval] Returns the identifier of new timer. | :[out, retval] Returns the identifier of new timer. | ||
Line 28: | Line 27: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]] | + | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_StopTimer|IPXV_Inst::StopTimer]], [[PXV:IPXV_Inst_StopAllTimers|IPXV_Inst::StopAllTimers]], [[PXV:IPXV_Inst_RestartTimer|IPXV_Inst::RestartTimer]] |
Latest revision as of 03:58, 15 June 2015
Starts the new custom global timer.
Syntax
HRESULT StartTimer([in] IPXV_TimerHandler* pTimerHandler, [in] ULONG nElapse, [in, defaultvalue(0)] ULONG nFlags, [out, retval] LONG_PTR* nNewTimerID);
Parameters
- pTimerHandler
- [in] Pointer to IPXV_TimerHandler callback.
- nElapse
- [in] The time-out value in milliseconds.
- nFlags
- [in, defaultvalue(0)] Indicates additional flags for timer creation. See PXV_TimerFlags.
- nNewTimerID
- [out, retval] Returns the identifier of new timer.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
IPXV_Inst, IPXV_Inst::StopTimer, IPXV_Inst::StopAllTimers, IPXV_Inst::RestartTimer