-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为Chrome 125内核补充XP不存在的接口 #90
Comments
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 7, 2024
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 9, 2024
刚好看到这个 issue 提到了 NTSTATUS NTAPI NtOpenKeyEx(HANDLE *KeyHandle, ACCESS_MASK DesiredAccess, OBJECT_ATTRIBUTES *ObjectAttributes, ULONG OpenOptions)
{
NTSTATUS Status;
__try
{
OBJECT_ATTRIBUTES KeyObject;
HANDLE Handle;
if (OpenOptions & REG_OPTION_OPEN_LINK)
{
KeyObject.Length = ObjectAttributes->Length;
KeyObject.RootDirectory = ObjectAttributes->RootDirectory;
KeyObject.ObjectName = ObjectAttributes->ObjectName;
KeyObject.Attributes = ObjectAttributes->Attributes | OBJ_OPENLINK;
KeyObject.SecurityDescriptor = ObjectAttributes->SecurityDescriptor;
KeyObject.SecurityQualityOfService = ObjectAttributes->SecurityQualityOfService;
ObjectAttributes = &KeyObject;
}
Status = NtOpenKey(&Handle, DesiredAccess, ObjectAttributes);
if (NT_SUCCESS(Status))
{
if (OpenOptions & REG_OPTION_BACKUP_RESTORE)
{
Status = NtCreateKey(KeyHandle, DesiredAccess, ObjectAttributes, 0, NULL, REG_OPTION_BACKUP_RESTORE, NULL);
NtClose(Handle);
}
else
{
memcpy(KeyHandle, &Handle, sizeof(Handle));
}
}
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
Status = GetExceptionCode();
}
return Status;
} 贾可 |
@KohChia 感谢你的帮助。虽然我这边已经实现了,但是你确实也为了提供了一种优化方案。之前代码未考虑到OBJ_OPENLINK也能打开符号链接,我尝试优化一下。 |
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 16, 2024
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 22, 2024
- 添加 MFCreateDeviceSource - 添加 MFEnumDeviceSources - 添加 MFCreateAlignedMemoryBuffer - 添加 MFCreateAsyncResult - 添加 MFCreateAttributes - 添加 MFCreateEventQueue - 添加 MFCreateMediaBufferWrapper - 添加 MFCreateMediaEvent - 添加 MFCreateMediaType - 添加 MFCreateMemoryBuffer - 添加 MFCreatePresentationDescriptor - 添加 MFCreateSample - 添加 MFCreateStreamDescriptor - 添加 MFCreateWaveFormatExFromMFMediaType - 添加 MFFrameRateToAverageTimePerFrame - 添加 MFGetSystemTime - 添加 MFInitMediaTypeFromWaveFormatEx - 添加 MFShutdown - 添加 MFStartup - 添加 MFTEnumEx - 添加 MFCreateSourceReaderFromMediaSource
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 22, 2024
- 添加 CompareObjectHandles - 添加 DWriteCreateFactory新增IDWriteFactory3支持(仅Vista以及更高版本) - 添加 CM_Get_DevNode_Property_ExW - 添加 CM_Set_DevNode_Property_ExW - 添加 CM_Get_DevNode_PropertyW - 添加 CM_Set_DevNode_PropertyW - 添加 Wow64GetThreadContext(新增对WinXP 64支持) - 添加 SetDefaultDllDirectories - 添加 NtOpenKeyEx - 添加 InitPropVariantFromCLSID - 添加 PSGetPropertyKeyFromName - 添加 PSCreateMemoryPropertyStore - 添加 VariantCompare - 添加 AddMandatoryAce - 添加 RegisterPointerDeviceNotifications - 添加 GetPointerDevices - 添加 GetPointerDevice - 添加 GetPointerPenInfo - 添加 GetPointerType - 添加 UiaRaiseNotificationEvent - 添加 MFCreateDeviceSource - 添加 MFEnumDeviceSources - 添加 MFCreateAlignedMemoryBuffer - 添加 MFCreateAsyncResult - 添加 MFCreateAttributes - 添加 MFCreateEventQueue - 添加 MFCreateMediaBufferWrapper - 添加 MFCreateMediaEvent - 添加 MFCreateMediaType - 添加 MFCreateMemoryBuffer - 添加 MFCreatePresentationDescriptor - 添加 MFCreateSample - 添加 MFCreateStreamDescriptor - 添加 MFCreateWaveFormatExFromMFMediaType - 添加 MFFrameRateToAverageTimePerFrame - 添加 MFGetSystemTime - 添加 MFInitMediaTypeFromWaveFormatEx - 添加 MFShutdown - 添加 MFStartup - 添加 MFTEnumEx - 添加 MFCreateSourceReaderFromMediaSource - 添加 NdfCreateWebIncident - 添加 NdfCloseIncident - 添加 NdfExecuteDiagnosis - 添加 WinUsb_Free - 添加 WinUsb_GetAssociatedInterface - 添加 WinUsb_GetOverlappedResult - 添加 WinUsb_Initialize - 添加 WinUsb_ReadPipe - 添加 WinUsb_ResetPipe - 添加 WinUsb_SetCurrentAlternateSetting - 添加 WinUsb_WritePipe - 添加 D3D12CreateDevice
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 27, 2024
- 添加 PowerGetActiveScheme - 添加 PowerReadACValue - 添加 PowerReadDCValue
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 27, 2024
- 添加 PowerGetActiveScheme - 添加 PowerReadACValue - 添加 PowerReadDCValue
mingkuang-Chuyu
added a commit
that referenced
this issue
Jun 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
特殊功能类
Report By YY.Depends.Analyzer (Target:5.2.3790-x64)
advapi32.dll
api-ms-win-core-handle-l1-1-0.dll
api-ms-win-power-setting-l1-1-0.dll
cfgmgr32.dll
credui.dll
d3d12.dll
kernel32.dll
mf.dll
mfplat.dll
mfreadwrite.dll
ncrypt.dll
ndfapi.dll
ntdll.dll
propsys.dll
rpcrt4.dll
uiautomationcore.dll
user32.dll
winusb.dll
The text was updated successfully, but these errors were encountered: