-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ntext_wrapper, advapi32_wrapper and setupapi_wrapper
- Loading branch information
1 parent
116b78d
commit b04e057
Showing
22 changed files
with
4,255 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/*++ | ||
Copyright (c) 2023 Shorthorn Project | ||
Module Name: | ||
logon32.c | ||
Abstract: | ||
Logon relative functions | ||
Author: | ||
Skulltrail 24-Febraury-2023 | ||
Revision History: | ||
--*/ | ||
|
||
#include "main.h" | ||
|
||
BOOL WINAPI LogonUserExExW( | ||
_In_ LPWSTR lpszUsername, | ||
_In_opt_ LPWSTR lpszDomain, | ||
_In_opt_ LPWSTR lpszPassword, | ||
_In_ DWORD dwLogonType, | ||
_In_ DWORD dwLogonProvider, | ||
_In_opt_ PTOKEN_GROUPS pTokenGroups, | ||
_Out_opt_ PHANDLE phToken, | ||
_Out_opt_ PSID *ppLogonSid, | ||
_Out_opt_ PVOID *ppProfileBuffer, | ||
_Out_opt_ LPDWORD pdwProfileLength, | ||
_Out_opt_ PQUOTA_LIMITS pQuotaLimits | ||
) | ||
{ | ||
return LogonUserExW(lpszUsername, | ||
lpszDomain, | ||
lpszPassword, | ||
dwLogonType, | ||
dwLogonProvider, | ||
phToken, | ||
ppLogonSid, | ||
ppProfileBuffer, | ||
pdwProfileLength, | ||
pQuotaLimits); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
CsrVerifyRegion | ||
LdrGetFileNameFromLoadAsDataTable | ||
LdrRemoveLoadAsDataTable | ||
LdrResFindResource | ||
LdrResFindResourceDirectory | ||
LdrResSearchResource | ||
LdrpResGetMappingSize | ||
LdrpResGetRCConfig | ||
LdrpResGetResourceDirectory | ||
NtCancelSynchronousIoFile | ||
NtCreateUserProcess | ||
NtInitializeNlsFiles | ||
RtlCleanUpTEBLangLists | ||
RtlCreateEnvironmentEx | ||
RtlCreateProcessParametersEx | ||
RtlExitUserProcess | ||
RtlExpandEnvironmentStrings | ||
RtlInitializeCriticalSectionEx | ||
RtlInitializeExceptionChain | ||
RtlLocaleNameToLcid | ||
RtlQueryElevationFlags | ||
RtlQueryEnvironmentVariable | ||
RtlSetEnvironmentVar | ||
RtlTryAcquirePebLock | ||
RtlWerpReportException | ||
RtlpCheckDynamicTimeZoneInformation | ||
RtlpConvertCultureNamesToLCIDs | ||
RtlpConvertLCIDsToCultureNames | ||
RtlpCreateProcessRegistryInfo | ||
RtlpGetLCIDFromLangInfoNode | ||
RtlpGetNameFromLangInfoNode | ||
RtlpGetSystemDefaultUILanguage | ||
RtlpInitializeLangRegistryInfo | ||
RtlpIsQualifiedLanguage | ||
RtlpLoadMachineUIByPolicy | ||
RtlpLoadUserUIByPolicy | ||
RtlpMuiFreeLangRegistryInfo | ||
TpCaptureCaller | ||
TpCheckTerminateWorker | ||
WerCheckEventEscalation | ||
WerReportSQMEvent | ||
WerReportWatsonEvent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,7 +259,7 @@ NtTraceControl( | |
PULONG ReturnLength | ||
) | ||
{ | ||
return STATUS_SUCCESS; | ||
return STATUS_UNSUCCESSFUL; | ||
} | ||
|
||
VOID | ||
|
Oops, something went wrong.