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
511e0bb6
Commit
511e0bb6
authored
Nov 03, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: FILE_GetDeviceInfo no longer needs to be public.
parent
a68d293b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
file.c
dlls/ntdll/file.c
+5
-5
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+0
-1
No files found.
dlls/ntdll/file.c
View file @
511e0bb6
...
...
@@ -1617,8 +1617,8 @@ NTSTATUS WINAPI NtQueryAttributesFile( const OBJECT_ATTRIBUTES *attr, FILE_BASIC
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__APPLE__)
/* helper for FILE_GetDeviceInfo to hide some platform differences in fstatfs */
static
inline
get_device_info_fstatfs
(
FILE_FS_DEVICE_INFORMATION
*
info
,
const
char
*
fstypename
,
size_t
fstypesize
,
unsigned
int
flags
)
static
inline
void
get_device_info_fstatfs
(
FILE_FS_DEVICE_INFORMATION
*
info
,
const
char
*
fstypename
,
size_t
fstypesize
,
unsigned
int
flags
)
{
if
(
!
strncmp
(
"cd9660"
,
fstypename
,
fstypesize
)
||
!
strncmp
(
"udf"
,
fstypename
,
fstypesize
))
...
...
@@ -1652,11 +1652,11 @@ static inline get_device_info_fstatfs( FILE_FS_DEVICE_INFORMATION *info, const c
#endif
/******************************************************************************
*
FILE_GetDeviceI
nfo
*
get_device_i
nfo
*
* Implementation of the FileFsDeviceInformation query for NtQueryVolumeInformationFile.
*/
NTSTATUS
FILE_GetDeviceI
nfo
(
int
fd
,
FILE_FS_DEVICE_INFORMATION
*
info
)
static
NTSTATUS
get_device_i
nfo
(
int
fd
,
FILE_FS_DEVICE_INFORMATION
*
info
)
{
struct
stat
st
;
...
...
@@ -1873,7 +1873,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
{
FILE_FS_DEVICE_INFORMATION
*
info
=
buffer
;
if
((
io
->
u
.
Status
=
FILE_GetDeviceI
nfo
(
fd
,
info
))
==
STATUS_SUCCESS
)
if
((
io
->
u
.
Status
=
get_device_i
nfo
(
fd
,
info
))
==
STATUS_SUCCESS
)
io
->
Information
=
sizeof
(
*
info
);
}
break
;
...
...
dlls/ntdll/ntdll_misc.h
View file @
511e0bb6
...
...
@@ -105,7 +105,6 @@ extern NTSTATUS TAPE_DeviceIoControl(HANDLE hDevice,
/* file I/O */
extern
NTSTATUS
FILE_GetNtStatus
(
void
);
extern
NTSTATUS
FILE_GetDeviceInfo
(
int
fd
,
FILE_FS_DEVICE_INFORMATION
*
info
);
extern
BOOL
DIR_is_hidden_file
(
const
UNICODE_STRING
*
name
);
extern
NTSTATUS
DIR_unmount_device
(
HANDLE
handle
);
extern
NTSTATUS
DIR_get_unix_cwd
(
char
**
cwd
);
...
...
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