Skip to content

Latest commit

 

History

History
70 lines (54 loc) · 2.69 KB

nc-ks-pfnksdevice.md

File metadata and controls

70 lines (54 loc) · 2.69 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:ks.PFNKSDEVICE
PFNKSDEVICE (ks.h)
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.
stream\avstrminidevicepoststart.htm
stream
04/23/2018
PFNKSDEVICE callback function
AVStrMiniDevicePostStart, AVStrMiniDevicePostStart routine [Streaming Media Devices], PFNKSDEVICE, avstclbk_2eb05ad1-c345-4625-9f76-f979e3ea7962.xml, ks/AVStrMiniDevicePostStart, stream.avstrminidevicepoststart
ks.h
Ks.h
Desktop
Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Windows
PFNKSDEVICE
ks/PFNKSDEVICE
APIRef
kbSyntax
UserDefined
ks.h
PFNKSDEVICE

PFNKSDEVICE callback function

-description

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.

-parameters

-param Device [in]

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

-returns

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.

-see-also

KSDEVICE_DISPATCH