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 +);