Skip to content

Instantly share code, notes, and snippets.

@Rottweiler
Last active March 23, 2017 13:53
Show Gist options
  • Save Rottweiler/33a75d220e292f77d7dba134d1d1097b to your computer and use it in GitHub Desktop.
Save Rottweiler/33a75d220e292f77d7dba134d1d1097b to your computer and use it in GitHub Desktop.
data-types.cs
WORD = 2 bytes, ushort, UInt16
DWORD = 4 bytes, uint, UInt32
QWORD = 8 bytes, ulong, UInt64
LPVOID = (4, or 8 bytes), IntPtr
LPCVOID = (4, or 8 bytes), IntPtr
SIZE_T = 4 bytes, uint, UInt32
The goal of this is to simplify conversion between c/c++ and c#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment