AVStrMiniDevicePostStart routine

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.

Syntax


PFNKSDEVICE AVStrMiniDevicePostStart;

NTSTATUS AVStrMiniDevicePostStart(
  _In_ PKSDEVICE Device
)
{ ... }

Parameters

Device [in]

Pointer to a KSDEVICE structure describing the device for which the IRP_MN_START_DEVICE request was sent.

Return value

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.

Remarks

The minidriver specifies this routine's address in the PostStart member of its KSDEVICE_DISPATCH structure.

This routine is optional.

Requirements

Target platform

Desktop

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

See also

KSDEVICE_DISPATCH

 

 

Send comments about this topic to Microsoft

Show: