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
cfeb6afd
Commit
cfeb6afd
authored
Jun 01, 2000
by
Juergen Schmied
Committed by
Alexandre Julliard
Jun 01, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub for RtlConvertSidToUnicodeString.
parent
bfe15b12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
sec.c
dlls/ntdll/sec.c
+22
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
cfeb6afd
...
...
@@ -300,7 +300,7 @@ type win32
@ stub RtlConvertExclusiveToShared
@ stub RtlConvertLongToLargeInteger
@ stub RtlConvertSharedToExclusive
@ st
ub
RtlConvertSidToUnicodeString
@ st
dcall RtlConvertSidToUnicodeString(ptr ptr)
RtlConvertSidToUnicodeString
@ stub RtlConvertUiListToApiList
@ stub RtlConvertUlongToLargeInteger
@ stub RtlCopyLuid
...
...
dlls/ntdll/sec.c
View file @
cfeb6afd
...
...
@@ -23,6 +23,7 @@
#include "ntddk.h"
#include "winreg.h"
#include "ntdll_misc.h"
DEFAULT_DEBUG_CHANNEL
(
ntdll
);
...
...
@@ -693,3 +694,24 @@ NTSTATUS WINAPI RtlGetControlSecurityDescriptor(
FIXME
(
"(%p,%p,%p),stub!
\n
"
,
pSecurityDescriptor
,
pControl
,
lpdwRevision
);
return
STATUS_SUCCESS
;
}
/******************************************************************************
* RtlConvertSidToUnicodeString
*/
NTSTATUS
WINAPI
RtlConvertSidToUnicodeString
(
PUNICODE_STRING
UnicodeSID
,
PSID
*
pSid
)
{
/* LPSTR GenSID = "S-1-5-21-0000000000-000000000-0000000000-500"; */
LPSTR
GenSID
=
".Default"
;
/* usually the returned SID is used to */
/* access "\\REGISTRY\\USER\\.DEFAULT" */
ANSI_STRING
AnsiStr
;
FIXME
(
"(%p %p)
\n
"
,
UnicodeSID
,
pSid
);
dump_UnicodeString
(
UnicodeSID
,
FALSE
);
RtlInitAnsiString
(
&
AnsiStr
,
GenSID
);
return
RtlAnsiStringToUnicodeString
(
UnicodeSID
,
&
AnsiStr
,
TRUE
);
}
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