c# Programming Glossary: codepointer
x86/x64 CPUID in C# http://stackoverflow.com/questions/3216535/x86-x64-cpuid-in-c-sharp class CpuID public static byte Invoke int level IntPtr codePointer IntPtr.Zero try compile byte codeBytes if IntPtr.Size 4 codeBytes.. 4 codeBytes x86CodeBytes else codeBytes x64CodeBytes codePointer VirtualAlloc IntPtr.Zero new UIntPtr uint codeBytes.Length.. Marshal.Copy codeBytes 0 codePointer codeBytes.Length CpuIDDelegate cpuIdDelg CpuIDDelegate Marshal.GetDelegateForFunctionPointer..
|