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
1ed51af3
Commit
1ed51af3
authored
Feb 12, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Feb 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes to compile with the headers (mostly nt-security).
parent
cdbdab74
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
60 additions
and
56 deletions
+60
-56
security.c
dlls/advapi32/security.c
+44
-40
service.c
dlls/advapi32/service.c
+1
-1
drive.c
files/drive.c
+8
-8
registry.c
misc/registry.c
+2
-2
newfns.c
win32/newfns.c
+2
-2
user.c
windows/user.c
+3
-3
No files found.
dlls/advapi32/security.c
View file @
1ed51af3
This diff is collapsed.
Click to expand it.
dlls/advapi32/service.c
View file @
1ed51af3
...
@@ -157,7 +157,7 @@ OpenSCManager32W( LPCWSTR lpMachineName, LPCWSTR lpDatabaseName,
...
@@ -157,7 +157,7 @@ OpenSCManager32W( LPCWSTR lpMachineName, LPCWSTR lpDatabaseName,
* lpluid []
* lpluid []
*/
*/
BOOL32
WINAPI
BOOL32
WINAPI
AllocateLocallyUniqueId
(
L
PLUID
lpluid
)
AllocateLocallyUniqueId
(
PLUID
lpluid
)
{
{
lpluid
->
LowPart
=
time
(
NULL
);
lpluid
->
LowPart
=
time
(
NULL
);
lpluid
->
HighPart
=
0
;
lpluid
->
HighPart
=
0
;
...
...
files/drive.c
View file @
1ed51af3
...
@@ -637,8 +637,8 @@ int DRIVE_RawWrite(BYTE drive, DWORD begin, DWORD nr_sect, BYTE *dataptr, BOOL32
...
@@ -637,8 +637,8 @@ int DRIVE_RawWrite(BYTE drive, DWORD begin, DWORD nr_sect, BYTE *dataptr, BOOL32
/***********************************************************************
/***********************************************************************
* DRIVE_GetFreeSpace
* DRIVE_GetFreeSpace
*/
*/
static
int
DRIVE_GetFreeSpace
(
int
drive
,
L
PULARGE_INTEGER
size
,
static
int
DRIVE_GetFreeSpace
(
int
drive
,
PULARGE_INTEGER
size
,
L
PULARGE_INTEGER
available
)
PULARGE_INTEGER
available
)
{
{
struct
statfs
info
;
struct
statfs
info
;
unsigned
long
long
bigsize
,
bigavail
=
0
;
unsigned
long
long
bigsize
,
bigavail
=
0
;
...
@@ -808,9 +808,9 @@ BOOL32 WINAPI GetDiskFreeSpace32W( LPCWSTR root, LPDWORD cluster_sectors,
...
@@ -808,9 +808,9 @@ BOOL32 WINAPI GetDiskFreeSpace32W( LPCWSTR root, LPDWORD cluster_sectors,
* GetDiskFreeSpaceEx32A (KERNEL32.871)
* GetDiskFreeSpaceEx32A (KERNEL32.871)
*/
*/
BOOL32
WINAPI
GetDiskFreeSpaceEx32A
(
LPCSTR
root
,
BOOL32
WINAPI
GetDiskFreeSpaceEx32A
(
LPCSTR
root
,
L
PULARGE_INTEGER
avail
,
PULARGE_INTEGER
avail
,
L
PULARGE_INTEGER
total
,
PULARGE_INTEGER
total
,
L
PULARGE_INTEGER
totalfree
)
PULARGE_INTEGER
totalfree
)
{
{
int
drive
;
int
drive
;
ULARGE_INTEGER
size
,
available
;
ULARGE_INTEGER
size
,
available
;
...
@@ -841,9 +841,9 @@ BOOL32 WINAPI GetDiskFreeSpaceEx32A( LPCSTR root,
...
@@ -841,9 +841,9 @@ BOOL32 WINAPI GetDiskFreeSpaceEx32A( LPCSTR root,
/***********************************************************************
/***********************************************************************
* GetDiskFreeSpaceEx32W (KERNEL32.873)
* GetDiskFreeSpaceEx32W (KERNEL32.873)
*/
*/
BOOL32
WINAPI
GetDiskFreeSpaceEx32W
(
LPCWSTR
root
,
L
PULARGE_INTEGER
avail
,
BOOL32
WINAPI
GetDiskFreeSpaceEx32W
(
LPCWSTR
root
,
PULARGE_INTEGER
avail
,
L
PULARGE_INTEGER
total
,
PULARGE_INTEGER
total
,
L
PULARGE_INTEGER
totalfree
)
PULARGE_INTEGER
totalfree
)
{
{
LPSTR
xroot
;
LPSTR
xroot
;
BOOL32
ret
;
BOOL32
ret
;
...
...
misc/registry.c
View file @
1ed51af3
...
@@ -3418,7 +3418,7 @@ LONG WINAPI RegConnectRegistry32A( LPCSTR machine, HKEY hkey, LPHKEY reskey )
...
@@ -3418,7 +3418,7 @@ LONG WINAPI RegConnectRegistry32A( LPCSTR machine, HKEY hkey, LPHKEY reskey )
*/
*/
LONG
WINAPI
RegGetKeySecurity
(
HKEY
hkey
,
LONG
WINAPI
RegGetKeySecurity
(
HKEY
hkey
,
SECURITY_INFORMATION
SecurityInformation
,
SECURITY_INFORMATION
SecurityInformation
,
L
PSECURITY_DESCRIPTOR
pSecurityDescriptor
,
PSECURITY_DESCRIPTOR
pSecurityDescriptor
,
LPDWORD
lpcbSecurityDescriptor
)
LPDWORD
lpcbSecurityDescriptor
)
{
{
LPKEYSTRUCT
lpkey
;
LPKEYSTRUCT
lpkey
;
...
@@ -3550,7 +3550,7 @@ LONG WINAPI RegUnLoadKey32A( HKEY hkey, LPCSTR lpSubKey )
...
@@ -3550,7 +3550,7 @@ LONG WINAPI RegUnLoadKey32A( HKEY hkey, LPCSTR lpSubKey )
* pSecurityDesc [I] Address of descriptor for key
* pSecurityDesc [I] Address of descriptor for key
*/
*/
LONG
WINAPI
RegSetKeySecurity
(
HKEY
hkey
,
SECURITY_INFORMATION
SecurityInfo
,
LONG
WINAPI
RegSetKeySecurity
(
HKEY
hkey
,
SECURITY_INFORMATION
SecurityInfo
,
L
PSECURITY_DESCRIPTOR
pSecurityDesc
)
PSECURITY_DESCRIPTOR
pSecurityDesc
)
{
{
LPKEYSTRUCT
lpkey
;
LPKEYSTRUCT
lpkey
;
...
...
win32/newfns.c
View file @
1ed51af3
...
@@ -45,7 +45,7 @@ BOOL32 WINAPI UTUnRegister(HMODULE32 hModule)
...
@@ -45,7 +45,7 @@ BOOL32 WINAPI UTUnRegister(HMODULE32 hModule)
/****************************************************************************
/****************************************************************************
* QueryPerformanceCounter (KERNEL32.564)
* QueryPerformanceCounter (KERNEL32.564)
*/
*/
BOOL32
WINAPI
QueryPerformanceCounter
(
L
PLARGE_INTEGER
counter
)
BOOL32
WINAPI
QueryPerformanceCounter
(
PLARGE_INTEGER
counter
)
{
{
struct
timeval
tv
;
struct
timeval
tv
;
...
@@ -58,7 +58,7 @@ BOOL32 WINAPI QueryPerformanceCounter(LPLARGE_INTEGER counter)
...
@@ -58,7 +58,7 @@ BOOL32 WINAPI QueryPerformanceCounter(LPLARGE_INTEGER counter)
/****************************************************************************
/****************************************************************************
* QueryPerformanceFrequency (KERNEL32.565)
* QueryPerformanceFrequency (KERNEL32.565)
*/
*/
BOOL32
WINAPI
QueryPerformanceFrequency
(
L
PLARGE_INTEGER
frequency
)
BOOL32
WINAPI
QueryPerformanceFrequency
(
PLARGE_INTEGER
frequency
)
{
{
frequency
->
LowPart
=
1000000
;
frequency
->
LowPart
=
1000000
;
frequency
->
HighPart
=
0
;
frequency
->
HighPart
=
0
;
...
...
windows/user.c
View file @
1ed51af3
...
@@ -467,9 +467,9 @@ BOOL32 WINAPI SetProcessWindowStation(HWINSTA32 hWinSta) {
...
@@ -467,9 +467,9 @@ BOOL32 WINAPI SetProcessWindowStation(HWINSTA32 hWinSta) {
BOOL32
WINAPI
SetUserObjectSecurity
(
BOOL32
WINAPI
SetUserObjectSecurity
(
HANDLE32
hObj
,
HANDLE32
hObj
,
/*LPSECURITY_INFORMATION*/
LPVOID
pSIRequested
,
/*LPSECURITY_INFORMATION*/
LPVOID
pSIRequested
,
/*LPSECURITY_DESCRIPTOR*/
LPVOID
pSID
PSECURITY_DESCRIPTOR
pSID
)
{
)
{
FIXME
(
win32
,
"(
%d
,%p,%p),stub!
\n
"
,
hObj
,
pSIRequested
,
pSID
);
FIXME
(
win32
,
"(
0x%08x
,%p,%p),stub!
\n
"
,
hObj
,
pSIRequested
,
pSID
);
return
TRUE
;
return
TRUE
;
}
}
...
@@ -491,7 +491,7 @@ HDESK32 WINAPI CreateDesktop32W(
...
@@ -491,7 +491,7 @@ HDESK32 WINAPI CreateDesktop32W(
* SetWindowStationUser (USER32.521)
* SetWindowStationUser (USER32.521)
*/
*/
DWORD
WINAPI
SetWindowStationUser
(
DWORD
x1
,
DWORD
x2
)
{
DWORD
WINAPI
SetWindowStationUser
(
DWORD
x1
,
DWORD
x2
)
{
FIXME
(
win32
,
"(
%ld,%ld
),stub!
\n
"
,
x1
,
x2
);
FIXME
(
win32
,
"(
0x%08lx,0x%08lx
),stub!
\n
"
,
x1
,
x2
);
return
1
;
return
1
;
}
}
...
...
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