From 745a50c9dbb03d37db58ff53136e93f00943bc0d Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Thu, 3 Feb 2011 17:49:10 +0300 Subject: [PATCH] ntoskrnl.exe: Add stub for IoGetDeviceInterfaces. --- dlls/ntoskrnl.exe/ntoskrnl.c | 13 +++++++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- include/ddk/wdm.h | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index a5c1659628e..4f70b9879f5 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -621,6 +621,19 @@ NTSTATUS WINAPI IoDeleteSymbolicLink( UNICODE_STRING *name ) } +/*********************************************************************** + * IoGetDeviceInterfaces (NTOSKRNL.EXE.@) + */ +NTSTATUS WINAPI IoGetDeviceInterfaces( CONST GUID *InterfaceClassGuid, + PDEVICE_OBJECT PhysicalDeviceObject, + ULONG Flags, PWSTR *SymbolicLinkList ) +{ + FIXME( "stub: %s %p %x %p\n", debugstr_guid(InterfaceClassGuid), + PhysicalDeviceObject, Flags, SymbolicLinkList ); + return STATUS_NOT_IMPLEMENTED; +} + + /*********************************************************************** * IoGetDeviceObjectPointer (NTOSKRNL.EXE.@) */ diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index ef0d50f400b..6d645ad3b54 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -381,7 +381,7 @@ @ stub IoGetCurrentProcess @ stub IoGetDeviceAttachmentBaseRef @ stub IoGetDeviceInterfaceAlias -@ stub IoGetDeviceInterfaces +@ stdcall IoGetDeviceInterfaces(ptr ptr long ptr) @ stdcall IoGetDeviceObjectPointer(ptr long ptr ptr) @ stdcall IoGetDeviceProperty(ptr long long ptr ptr) @ stub IoGetDeviceToVerify diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 6df529056b9..2f3fccbacd5 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -1106,6 +1106,7 @@ void WINAPI IoDeleteDriver(DRIVER_OBJECT*); NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*); void WINAPI IoFreeIrp(IRP*); PEPROCESS WINAPI IoGetCurrentProcess(void); +NTSTATUS WINAPI IoGetDeviceInterfaces(CONST GUID*,PDEVICE_OBJECT,ULONG,PWSTR*); NTSTATUS WINAPI IoGetDeviceObjectPointer(UNICODE_STRING*,ACCESS_MASK,PFILE_OBJECT*,PDEVICE_OBJECT*); NTSTATUS WINAPI IoGetDeviceProperty(PDEVICE_OBJECT,DEVICE_REGISTRY_PROPERTY,ULONG,PVOID,PULONG); PVOID WINAPI IoGetDriverObjectExtension(PDRIVER_OBJECT,PVOID);