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
ea31cf0a
Commit
ea31cf0a
authored
Nov 20, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LUID definition.
parent
80eff975
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
service.c
dlls/advapi32/service.c
+2
-2
nt.c
dlls/ntdll/nt.c
+9
-6
winnt.h
include/winnt.h
+7
-4
No files found.
dlls/advapi32/service.c
View file @
ea31cf0a
...
@@ -262,8 +262,8 @@ OpenSCManagerW( LPCWSTR lpMachineName, LPCWSTR lpDatabaseName,
...
@@ -262,8 +262,8 @@ OpenSCManagerW( LPCWSTR lpMachineName, LPCWSTR lpDatabaseName,
BOOL
WINAPI
BOOL
WINAPI
AllocateLocallyUniqueId
(
PLUID
lpluid
)
AllocateLocallyUniqueId
(
PLUID
lpluid
)
{
{
lpluid
->
s
.
LowPart
=
time
(
NULL
);
lpluid
->
LowPart
=
time
(
NULL
);
lpluid
->
s
.
HighPart
=
0
;
lpluid
->
HighPart
=
0
;
return
TRUE
;
return
TRUE
;
}
}
...
...
dlls/ntdll/nt.c
View file @
ea31cf0a
...
@@ -692,12 +692,15 @@ NTSTATUS WINAPI NtPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
...
@@ -692,12 +692,15 @@ NTSTATUS WINAPI NtPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
*/
*/
NTSTATUS
WINAPI
NtAllocateLocallyUniqueId
(
PLUID
Luid
)
NTSTATUS
WINAPI
NtAllocateLocallyUniqueId
(
PLUID
Luid
)
{
{
static
LUID
luid
;
static
LUID
luid
;
FIXME
(
"%p (0x%08lx%08lx)
\n
"
,
Luid
,
luid
.
DUMMYSTRUCTNAME
.
HighPart
,
luid
.
DUMMYSTRUCTNAME
.
LowPart
);
FIXME
(
"%p (0x%08lx%08lx)
\n
"
,
Luid
,
luid
.
HighPart
,
luid
.
LowPart
);
luid
.
QuadPart
++
;
luid
.
LowPart
++
;
if
(
luid
.
LowPart
==
0
)
Luid
->
QuadPart
=
luid
.
QuadPart
;
luid
.
HighPart
++
;
return
STATUS_SUCCESS
;
Luid
->
HighPart
=
luid
.
HighPart
;
Luid
->
LowPart
=
luid
.
LowPart
;
return
STATUS_SUCCESS
;
}
}
include/winnt.h
View file @
ea31cf0a
...
@@ -3591,12 +3591,15 @@ typedef union _ULARGE_INTEGER {
...
@@ -3591,12 +3591,15 @@ typedef union _ULARGE_INTEGER {
* Locally Unique Identifier
* Locally Unique Identifier
*/
*/
typedef
LARGE_INTEGER
LUID
,
*
PLUID
;
typedef
struct
_LUID
{
DWORD
LowPart
;
LONG
HighPart
;
}
LUID
,
*
PLUID
;
typedef
struct
_LUID_AND_ATTRIBUTES
{
typedef
struct
_LUID_AND_ATTRIBUTES
{
LUID
Luid
;
LUID
Luid
;
DWORD
Attributes
;
DWORD
Attributes
;
}
LUID_AND_ATTRIBUTES
;
}
LUID_AND_ATTRIBUTES
;
/*
/*
* PRIVILEGE_SET
* PRIVILEGE_SET
...
...
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