mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 08:46:29 +00:00
ntoskrnl.exe: Add TRACEs to IoCreateDriver and IoDelete driver.
This commit is contained in:
parent
59eaf2003b
commit
5ca17f6d50
@ -500,6 +500,8 @@ NTSTATUS WINAPI IoCreateDriver( UNICODE_STRING *name, PDRIVER_INITIALIZE init )
|
||||
DRIVER_EXTENSION *extension;
|
||||
NTSTATUS status;
|
||||
|
||||
TRACE("(%s, %p)\n", debugstr_us(name), init);
|
||||
|
||||
if (!(driver = RtlAllocateHeap( GetProcessHeap(), HEAP_ZERO_MEMORY,
|
||||
sizeof(*driver) + sizeof(*extension) )))
|
||||
return STATUS_NO_MEMORY;
|
||||
@ -533,6 +535,8 @@ NTSTATUS WINAPI IoCreateDriver( UNICODE_STRING *name, PDRIVER_INITIALIZE init )
|
||||
*/
|
||||
void WINAPI IoDeleteDriver( DRIVER_OBJECT *driver )
|
||||
{
|
||||
TRACE("(%p)\n", driver);
|
||||
|
||||
RtlFreeUnicodeString( &driver->DriverName );
|
||||
RtlFreeHeap( GetProcessHeap(), 0, driver );
|
||||
}
|
||||
@ -685,6 +689,7 @@ NTSTATUS WINAPI IoGetDeviceInterfaces( CONST GUID *InterfaceClassGuid,
|
||||
NTSTATUS WINAPI IoGetDeviceObjectPointer( UNICODE_STRING *name, ACCESS_MASK access, PFILE_OBJECT *file, PDEVICE_OBJECT *device )
|
||||
{
|
||||
FIXME( "stub: %s %x %p %p\n", debugstr_us(name), access, file, device );
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user