Skip to content

Instantly share code, notes, and snippets.

@evanricard
Last active February 11, 2020 22:51
Show Gist options
  • Save evanricard/be23f94767c17253d8c51abbefb76752 to your computer and use it in GitHub Desktop.
Save evanricard/be23f94767c17253d8c51abbefb76752 to your computer and use it in GitHub Desktop.
C# pointer #note
&array[0]
[DllImport("kernel32", SetLastError = true)]
static extern unsafe IntPtr CreateFile(
string FileName,
uint DesiredAccess,
uint ShareMode,
uint SecurityAttributes,
uint CreationDisposition,
uint FlagsAndAttributes,
int hTemplateFile
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment