Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
windows-api-function-cheatsheets — A reference of Windows API function calls, including functions for file operations, process management, memory management, thread management, dynamic-link library (DLL) management, synchronization, interprocess communication, Unicode string manipulation, error handling, Winsock networking operations, and registry operations. | Kitploit
Tools/GitHubGitHub/7etsuo/windows-api-function-cheatsheets
Reverse EngineeringPost-ExploitationMalware AnalysisBinary AnalysisCurated ResourcesPayload Development
GitHub7etsuo/windows-api-function-cheatsheets

windows-api-function-cheatsheets

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
1.5k169262 years agoReviewed by Kitploit

About

A reference of Windows API function calls, including functions for file operations, process management, memory management, thread management, dynamic-link library (DLL) management, synchronization, interprocess communication, Unicode string manipulation, error handling, Winsock networking operations, and registry operations.

Share

API CheatSheets

Windows API Function Cheatsheets

Contact

🌨️ Tetsuo: https://www.x.com/tetsuo

Table of Contents

  • Windows API Function Cheatsheets
    • File Operations
    • Process Management
    • Memory Management
    • Thread Management
    • Dynamic-Link Library (DLL) Management
    • Synchronization
    • Interprocess Communication
    • Windows Hooks
    • Cryptography
    • Debugging
    • Winsock
    • Registry Operations
    • Error Handling
    • Resource Management
    • Unicode String Functions
      • String Length
      • String Copy
      • String Concatenation
      • String Comparison
      • String Search
      • Character Classification and Conversion
    • Win32 Structs Cheat Sheet
      • Common Structs
      • Win32 Sockets Structs Cheat Sheet (winsock.h)
      • Win32 Sockets Structs Cheat Sheet (winsock2.h)
      • Win32 Sockets Structs Cheat Sheet (ws2def.h)
  • Code Injection Techniques
    • 1. DLL Injection
    • 2. PE Injection
    • 3. Reflective Injection
    • 4. APC Injection
    • 5. Process Hollowing (Process Replacement)
    • 6. AtomBombing
    • 7. Process Doppelgänging
    • 8. Process Herpaderping
    • 9. Hooking Injection
    • 10. Extra Windows Memory Injection
    • 11. Propagate Injection
    • 12. Heap Spray
    • 13. Thread Execution Hijacking
    • 14. Module Stomping
    • 15. IAT Hooking
    • 16. Inline Hooking
    • 17. Debugger Injection
    • 18. COM Hijacking
    • 19. Phantom DLL Hollowing
    • 20. PROPagate
    • 21. Early Bird Injection
    • 22. Shim-based Injection
    • 23. Mapping Injection
    • 24. KnownDlls Cache Poisoning
  • Process Enumeration

Windows API Function Calls

File Operations

CreateFile

HANDLE CreateFile(
  LPCTSTR lpFileName,
  DWORD dwDesiredAccess,
  DWORD dwShareMode,
  LPSECURITY_ATTRIBUTES lpSecurityAttributes,
  DWORD dwCreationDisposition,
  DWORD dwFlagsAndAttributes,
  HANDLE hTemplateFile
); // Opens an existing file or creates a new file.

ReadFile

BOOL ReadFile(
  HANDLE hFile,
  LPVOID lpBuffer,
  DWORD nNumberOfBytesToRead,
  LPDWORD lpNumberOfBytesRead,
  LPOVERLAPPED lpOverlapped
); // Reads data from the specified file.

WriteFile

BOOL WriteFile(
  HANDLE hFile,
  LPCVOID lpBuffer,
  DWORD nNumberOfBytesToWrite,
  LPDWORD lpNumberOfBytesWritten,
  LPOVERLAPPED lpOverlapped
); // Writes data to the specified file.

CloseHandle

BOOL CloseHandle(
  HANDLE hObject
); // Closes an open handle.
Download Tool