IDMAChannel::SetThresholdCallback (Windows CE 5.0)
This method sets the threshold callback. Once IDMAChannel::SetDataNotificationThreshold has set the threshold, the threshold crossing can be signaled by a callback function or an event setting.
HRESULT SetThresholdCallback(PNOTIFICATION_CALLBACKpProc,DWORDarg);
Parameters
- pProc
[out] Pointer to a callback function that is called when the threshold is reached. This value can be NULL, in which case arg should contain a handle of the event to be set. - arg
[in] Argument to be passed to a callback. If a callback pointer is NULL, it contains the handle of the event to be signaled.
Return Values
If the method completes successfully, the return value is S_OK.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Dvddrvr.idl.
See Also
IDMAChannel::SetDataNotificationThreshold | IDMAChannel:IUnknown
Send Feedback on this topic to the authors