[PATCH] ntoskrnl.exe: IoBuildSynchronousFsdRequest and IoGetAttachedDevice stub
Austin English
austinenglish at gmail.com
Sun Nov 30 16:50:36 CST 2014
On Sun, Nov 30, 2014 at 3:51 AM, Marcus Meissner <marcus at jet.franken.de>
wrote:
>
> Some work I have left lying around after trying to get a copy protection
> to work.
>
> (Stopped at how to get IoGetAttachedDevice deliver the cdrom device
> created by mountmgr.sys
> which lives in a different address space.)
>
> Ciao, Marcus
> ---
> dlls/ntoskrnl.exe/ntoskrnl.c | 51
> ++++++++++++++++++++++++++++++++++++-
> dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 4 +--
> 2 files changed, 52 insertions(+), 3 deletions(-)
>
> @@ -733,9 +770,21 @@ NTSTATUS WINAPI IoGetDeviceObjectPointer(
> UNICODE_STRING *name, ACCESS_MASK acc
> {
> FIXME( "stub: %s %x %p %p\n", debugstr_us(name), access, file, device
> );
>
> - return STATUS_NOT_IMPLEMENTED;
> + *file = NULL;
> + *device = NULL;
> +
> + return /*STATUS_NOT_IMPLEMENTED*/STATUS_SUCCESS;
>
Looks like a debugging leftover you forgot to remove.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20141130/2ad66cf2/attachment.html>
More information about the wine-devel
mailing list