DriverEntry of AVStream function
The DriverEntry function is the initial entry point into an AVStream minidriver.
Syntax
NTSTATUS DriverEntry(
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPathName
);
Parameters
DriverObject [in]
This is the driver object to initialize for this instance.RegistryPathName [in]
Contains the registry path that was used to load this instance.
Return value
Returns the value returned by KsInitializeDriver.
Remarks
Each AVStream minidriver must have a function explicitly named DriverEntry in order to be loaded. DriverEntry is called directly by the I/O system. Usually, DriverEntry calls KsInitializeDriver and then returns the value returned by KsInitializeDriver.
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) |
Library |
NtosKrnl.lib |
DLL |
NtosKrnl.exe |
See also