共用方式為


EVT_WDF_TASK_QUEUE_TASK_EXECUTE_SYNC回呼函式 (wdfcompanion.h)

僅供內部使用。

語法

EVT_WDF_TASK_QUEUE_TASK_EXECUTE_SYNC EvtWdfTaskQueueTaskExecuteSync;

NTSTATUS EvtWdfTaskQueueTaskExecuteSync(
  [in]            WDFTASKQUEUE Queue,
  [in, optional]  PVOID InputBuffer,
  [out, optional] PVOID OutputBuffer,
  [in]            size_t InputBufferLength,
  [in]            size_t OutputBufferLength,
  [in]            size_t *BytesWritten,
  [in]            ULONG TaskOperationCode
)
{...}

參數

[in] Queue

[in, optional] InputBuffer

[out, optional] OutputBuffer

[in] InputBufferLength

[in] OutputBufferLength

[in] BytesWritten

[in] TaskOperationCode

規格需求

需求
目標平台 Windows
最低UMDF版本 2.23
標頭 wdfcompanion.h
IRQL PASSIVE_LEVEL