WUDF_WORKITEM_CONFIG_INIT function (wudfworkitem.h)
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The WUDF_WORKITEM_CONFIG_INIT macro initializes a driver's WUDF_WORKITEM_CONFIG structure.
void WUDF_WORKITEM_CONFIG_INIT( [out] PWUDF_WORKITEM_CONFIG pConfig, [in] PFN_WUDF_WORKITEM OnWorkItemFunc );
A pointer to the caller-allocated WUDF_WORKITEM_CONFIG structure to initialize.
The address of the driver's OnWorkItem event callback function.
Drivers must call WUDF_WORKITEM_CONFIG_INIT before calling IWDFDevice3::CreateWorkItem.
The WUDF_WORKITEM_CONFIG_INIT function stores the pointer that the OnWorkItemFunc parameter specifies and sets the AutomaticSerialization member of the WUDF_WORKITEM_CONFIG structure that is pointed to by the pConfig parameter to TRUE.
|End of support||Unavailable in UMDF 2.0 and later.|
|Minimum UMDF version||1.11|
Submit and view feedback for