Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6aeffb53
Commit
6aeffb53
authored
Apr 14, 2010
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Apr 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Stub out IoGetDeviceProperty.
parent
0bc218b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+12
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+24
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
6aeffb53
...
@@ -632,6 +632,18 @@ NTSTATUS WINAPI IoGetDeviceObjectPointer( UNICODE_STRING *name, ACCESS_MASK acc
...
@@ -632,6 +632,18 @@ NTSTATUS WINAPI IoGetDeviceObjectPointer( UNICODE_STRING *name, ACCESS_MASK acc
/***********************************************************************
/***********************************************************************
* IoGetDeviceProperty (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
IoGetDeviceProperty
(
DEVICE_OBJECT
*
device
,
DEVICE_REGISTRY_PROPERTY
device_property
,
ULONG
buffer_length
,
PVOID
property_buffer
,
PULONG
result_length
)
{
FIXME
(
"%p %d %u %p %p: stub
\n
"
,
device
,
device_property
,
buffer_length
,
property_buffer
,
result_length
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* IoCallDriver (NTOSKRNL.EXE.@)
* IoCallDriver (NTOSKRNL.EXE.@)
*/
*/
NTSTATUS
WINAPI
IoCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
NTSTATUS
WINAPI
IoCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
6aeffb53
...
@@ -383,7 +383,7 @@
...
@@ -383,7 +383,7 @@
@ stub IoGetDeviceInterfaceAlias
@ stub IoGetDeviceInterfaceAlias
@ stub IoGetDeviceInterfaces
@ stub IoGetDeviceInterfaces
@ stdcall IoGetDeviceObjectPointer(ptr long ptr ptr)
@ stdcall IoGetDeviceObjectPointer(ptr long ptr ptr)
@ st
ub IoGetDeviceProperty
@ st
dcall IoGetDeviceProperty(ptr long long ptr ptr)
@ stub IoGetDeviceToVerify
@ stub IoGetDeviceToVerify
@ stub IoGetDiskDeviceObject
@ stub IoGetDiskDeviceObject
@ stub IoGetDmaAdapter
@ stub IoGetDmaAdapter
...
...
include/ddk/wdm.h
View file @
6aeffb53
...
@@ -689,6 +689,29 @@ typedef enum _BUS_QUERY_ID_TYPE {
...
@@ -689,6 +689,29 @@ typedef enum _BUS_QUERY_ID_TYPE {
BusQueryDeviceSerialNumber
BusQueryDeviceSerialNumber
}
BUS_QUERY_ID_TYPE
,
*
PBUS_QUERY_ID_TYPE
;
}
BUS_QUERY_ID_TYPE
,
*
PBUS_QUERY_ID_TYPE
;
typedef
enum
{
DevicePropertyDeviceDescription
,
DevicePropertyHardwareID
,
DevicePropertyCompatibleIDs
,
DevicePropertyBootConfiguration
,
DevicePropertyBootConfigurationTranslated
,
DevicePropertyClassName
,
DevicePropertyClassGuid
,
DevicePropertyDriverKeyName
,
DevicePropertyManufacturer
,
DevicePropertyFriendlyName
,
DevicePropertyLocationInformation
,
DevicePropertyPhysicalDeviceObjectName
,
DevicePropertyBusTypeGuid
,
DevicePropertyLegacyBusType
,
DevicePropertyBusNumber
,
DevicePropertyEnumeratorName
,
DevicePropertyAddress
,
DevicePropertyUINumber
,
DevicePropertyInstallState
,
DevicePropertyRemovalPolicy
}
DEVICE_REGISTRY_PROPERTY
;
typedef
enum
_DEVICE_TEXT_TYPE
{
typedef
enum
_DEVICE_TEXT_TYPE
{
DeviceTextDescription
,
DeviceTextDescription
,
DeviceTextLocationInformation
DeviceTextLocationInformation
...
@@ -1074,6 +1097,7 @@ NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*);
...
@@ -1074,6 +1097,7 @@ NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*);
void
WINAPI
IoFreeIrp
(
IRP
*
);
void
WINAPI
IoFreeIrp
(
IRP
*
);
PEPROCESS
WINAPI
IoGetCurrentProcess
(
void
);
PEPROCESS
WINAPI
IoGetCurrentProcess
(
void
);
NTSTATUS
WINAPI
IoGetDeviceObjectPointer
(
UNICODE_STRING
*
,
ACCESS_MASK
,
PFILE_OBJECT
*
,
PDEVICE_OBJECT
*
);
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
);
PVOID
WINAPI
IoGetDriverObjectExtension
(
PDRIVER_OBJECT
,
PVOID
);
PDEVICE_OBJECT
WINAPI
IoGetRelatedDeviceObject
(
PFILE_OBJECT
);
PDEVICE_OBJECT
WINAPI
IoGetRelatedDeviceObject
(
PFILE_OBJECT
);
void
WINAPI
IoInitializeIrp
(
IRP
*
,
USHORT
,
CCHAR
);
void
WINAPI
IoInitializeIrp
(
IRP
*
,
USHORT
,
CCHAR
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment