IDMAChannel::SetThresholdCallback
Other versions of this page are also available for the following:
8/28/2008
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.
Syntax
HRESULT SetThresholdCallback(
PNOTIFICATION_CALLBACK pProc,
DWORD arg
);
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 Value
If the method completes successfully, the return value is S_OK.
Requirements
Header | dvddrvr.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |