// ks.h
PFNKSDEVICE Pfnksdevice;
NTSTATUS Pfnksdevice(
[in] PKSDEVICE Device
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
An AVStream minidriver's AVStrMiniDevicePostStart routine is called when AVStream performs post-PnP-start processing. Use it to load drivers at start time, for example. Such events then will occur in the context of a worker thread after PnP start.
Device
[in]Pointer to a KSDEVICE structure describing the device for which the IRP_MN_START_DEVICE request was sent.
Should return STATUS_SUCCESS or the error code that was returned from the attempt to perform the operation. If this routine returns failure, any pending IRP_MJ_CREATE requests between the IRP_MN_START_DEVICE request and the IRP_MN_STOP_DEVICE request will be failed. Do not return STATUS_PENDING.
The minidriver specifies this routine's address in the PostStart member of its KSDEVICE_DISPATCH structure.
This routine is optional.