2009/5/24 Alex Ionescu <[email protected]>:
> May I ask, why not use simple C for this?:
>
> DriverBlock->DriverObject->MajorFunction = MajorFunctions;
This won't work.
Btw, this line is indented with 5 spaces O_O

>
> Or if that doesn't work, use a casting trick...
What do you mean? casting to a bogus structure of size
sizeof(PDRIVER_DISPATCH)*IRP_MJ_MAXIMUM_FUNCTION ?


Alexander
_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to