Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6e7c73ca
Commit
6e7c73ca
authored
Sep 08, 2008
by
Peter Dons Tychsen
Committed by
Alexandre Julliard
Sep 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Implement partial stub for IoGetConfigurationInformation().
parent
6f7c2b94
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+12
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
ntddk.h
include/ddk/ntddk.h
+15
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
6e7c73ca
...
...
@@ -469,6 +469,18 @@ PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject( PFILE_OBJECT obj )
return
NULL
;
}
static
CONFIGURATION_INFORMATION
configuration_information
;
/***********************************************************************
* IoGetConfigurationInformation (NTOSKRNL.EXE.@)
*/
PCONFIGURATION_INFORMATION
WINAPI
IoGetConfigurationInformation
(
void
)
{
FIXME
(
"partial stub
\n
"
);
/* FIXME: return actual devices on system */
return
&
configuration_information
;
}
/***********************************************************************
* IoRegisterDriverReinitialization (NTOSKRNL.EXE.@)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
6e7c73ca
...
...
@@ -377,7 +377,7 @@
@ stub IoGetAttachedDeviceReference
@ stub IoGetBaseFileSystemDeviceObject
@ stub IoGetBootDiskInformation
@ st
ub IoGetConfigurationInformation
@ st
dcall IoGetConfigurationInformation()
@ stub IoGetCurrentProcess
@ stub IoGetDeviceAttachmentBaseRef
@ stub IoGetDeviceInterfaceAlias
...
...
include/ddk/ntddk.h
View file @
6e7c73ca
...
...
@@ -46,6 +46,21 @@ typedef enum _BUS_DATA_TYPE
MaximumBusDataType
}
BUS_DATA_TYPE
,
*
PBUS_DATA_TYPE
;
typedef
struct
_CONFIGURATION_INFORMATION
{
ULONG
DiskCount
;
ULONG
FloppyCount
;
ULONG
CdRomCount
;
ULONG
TapeCount
;
ULONG
ScsiPortCount
;
ULONG
SerialCount
;
ULONG
ParallelCount
;
BOOLEAN
AtDiskPrimaryAddressClaimed
;
BOOLEAN
AtDiskSecondaryAddressClaimed
;
ULONG
Version
;
ULONG
MediumChangerCount
;
}
CONFIGURATION_INFORMATION
,
*
PCONFIGURATION_INFORMATION
;
typedef
VOID
(
WINAPI
*
PDRIVER_REINITIALIZE
)(
PDRIVER_OBJECT
,
PVOID
,
ULONG
);
void
WINAPI
IoRegisterDriverReinitialization
(
PDRIVER_OBJECT
,
PDRIVER_REINITIALIZE
,
PVOID
);
...
...
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