Seregon/ShadPKG

A tool for deriving PKG packet encryption keys for ps4 written in c++

C++/47.3 KB/No license
common/ntapi_stub.cpp
ShadPKG / common / ntapi_stub.cpp
1#include <cstdint>
2#include "common/ntapi.h"
3#include "common/shadpkg_types.h"
4 
5#ifdef _WIN32
6static u64 NtSetInformationFile_stub(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, FILE_INFORMATION_CLASS) {
7 return 0;
8}
9 
10NtSetInformationFile_t NtSetInformationFile = NtSetInformationFile_stub;
11#endif
12