VhfAsyncOperationComplete function (vhf.h)
The HID source driver calls this method to set the results of an asynchronous operation.
Syntax
NTSTATUS VhfAsyncOperationComplete(
[in] VHFOPERATIONHANDLE VhfOperationHandle,
[in] NTSTATUS CompletionStatus
);
Parameters
[in] VhfOperationHandle
The operation handle set by Virtual HID Framework (VHF). This handle is passed to the HID source driver in the VhfOperationHandle parameter of EvtVhfAsyncOperation.
[in] CompletionStatus
If the operation succeeds, the method returns STATUS_SUCCESS. Otherwise an appropriate NTSTATUS value.
Return value
If the VhfAsyncOperationComplete call succeeds, the method returns STATUS_SUCCESS. Otherwise an appropriate NTSTATUS value.
Remarks
The HID source driver can call from the event callback or at a later time after returning from the EvtVhfAsyncOperation callback.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | vhf.h |
Library | VhfKm.lib |
IRQL | <=DISPATCH_LEVEL |
See also
Write a HID source driver by using Virtual HID Framework (VHF)
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for