[*] Realign AuProcAddresses.NT.cpp

This commit is contained in:
Reece Wilson 2023-12-21 14:27:35 +00:00
parent 5951724374
commit 9fbed174fc

View File

@ -197,13 +197,13 @@ namespace Aurora
);
inline HANDLE(__stdcall *pCreateFileW)(
LPCWSTR lpFileName,
DWORD dwDesiredAccess,
DWORD dwShareMode,
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes,
HANDLE hTemplateFile
LPCWSTR lpFileName,
DWORD dwDesiredAccess,
DWORD dwShareMode,
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes,
HANDLE hTemplateFile
);
inline NTSTATUS(__stdcall *pNtNotifyChangeDirectoryFile)(
@ -279,7 +279,7 @@ namespace Aurora
inline BOOL(__stdcall *pCryptGenRandom)(
ULONG_PTR hProv,
DWORD dwLen,
BYTE *pbBuffer
BYTE * pbBuffer
);
inline NTSTATUS(__stdcall *pZwSetTimerResolution)(
@ -526,10 +526,10 @@ namespace Aurora
// Shell
inline HRESULT(__stdcall *pSHGetKnownFolderPath)(
const GUID &rfid,
const GUID & rfid,
DWORD dwFlags,
HANDLE hToken,
PWSTR *ppszPath
PWSTR * ppszPath
);
inline HINSTANCE(__stdcall *pShellExecuteW)(
@ -839,40 +839,40 @@ namespace Aurora
);
inline int(__stdcall *plisten)(
SOCKET s,
int backlog
SOCKET s,
int backlog
);
inline int(__stdcall *pbind)(
SOCKET s,
const sockaddr *name,
int namelen
SOCKET s,
const sockaddr * name,
int namelen
);
inline int(__stdcall *pclosesocket)(
SOCKET s
SOCKET s
);
inline int(__stdcall *pWSAStartup)(
WORD wVersionRequested,
LPWSADATA lpWSAData
WORD wVersionRequested,
LPWSADATA lpWSAData
);
inline int(__stdcall *pshutdown)(
SOCKET s,
int flags
SOCKET s,
int flags
);
inline int(__stdcall *pgetpeername)(
SOCKET s,
sockaddr *name,
int *namelen
SOCKET s,
sockaddr * name,
int * namelen
);
inline int(__stdcall *pgetsockname)(
SOCKET s,
sockaddr *name,
int *namelen
SOCKET s,
sockaddr * name,
int * namelen
);
inline int(__stdcall *pWSAIoctl)(
@ -888,28 +888,28 @@ namespace Aurora
);
inline int(__stdcall *pioctlsocket)(
SOCKET s,
long cmd,
SOCKET s,
long cmd,
u_long *argp
);
inline int(__stdcall *psetsockopt)(
SOCKET s,
int level,
int optname,
const char * optval,
int optlen
);
SOCKET s,
int level,
int optname,
const char * optval,
int optlen
);
inline int(__stdcall *pWSAGetLastError)();
inline SOCKET(__stdcall *pWSASocketW)(
int af,
int type,
int protocol,
LPWSAPROTOCOL_INFOW lpProtocolInfo,
GROUP g,
DWORD dwFlags
int af,
int type,
int protocol,
LPWSAPROTOCOL_INFOW lpProtocolInfo,
GROUP g,
DWORD dwFlags
);
inline int(__stdcall *pWSARecvFrom)(