From bd7fb8cd92eeb264fdc6a3d61a7860c67d9937c6 Mon Sep 17 00:00:00 2001 From: ryzhpolsos Date: Wed, 13 May 2026 23:27:00 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.bat | 1 + kernel33.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 build.bat create mode 100644 kernel33.c diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..e32f1d1 --- /dev/null +++ b/build.bat @@ -0,0 +1 @@ +@pushd "%~dp0" & cl /TC /LD /O2 /GL /Fe:kernel33.dll *.c & popd \ No newline at end of file diff --git a/kernel33.c b/kernel33.c new file mode 100644 index 0000000..62f813b --- /dev/null +++ b/kernel33.c @@ -0,0 +1,42 @@ +#include +#include + +LRESULT __declspec(dllexport) WINAPI NtZwKeObKiPspCsrRtlDwmCreateHandleForObjectSecurityInformationExAW2( + PHANDLE FileHandle, + ACCESS_MASK DesiredAccess, + POBJECT_ATTRIBUTES ObjectAttributes, + PIO_STATUS_BLOCK IoStatusBlock, + PLARGE_INTEGER AllocationSize, + ULONG FileAttributes, + ULONG ShareAccess, + ULONG CreateDisposition, + ULONG CreateOptions, + PVOID EaBuffer, + ULONG EaLength, + DWORD dwExStyle, + LPCWSTR lpClassName, + LPCWSTR lpWindowName, + DWORD dwStyle, + int X, + int Y, + int nWidth, + int nHeight, + HWND hWndParent, + HMENU hMenu, + HINSTANCE hInstance, + LPVOID lpParam, + int cHeight, + int cWidth, + int cEscapement, + int cOrientation, + int cWeight, + DWORD bItalic, + DWORD bUnderline, + DWORD bStrikeOut, + DWORD iCharSet, + DWORD iOutPrecision, + DWORD iClipPrecision, + DWORD iQuality, + DWORD iPitchAndFamily, + LPCWSTR pszFaceName +);