I am trying to access CPU MSR registers by using WinRing0 low-level driver.
All of the other functions work fine, however I am not able to access any functions which would return multiple values.
MSR Read function should return two DWORD;, eax and edx.
CPUID function should return quad DWORDs; eax, ebx, ecx, edx.
For RdMsr:
For CPUID:
$CPUID1[0] - $CPUID1[5] variables return zero, except $CPUID1[1] which is 1 (0x00000001) of course.
Any help would be highly appreciated as I am a total newbie with AutoIT
All of the other functions work fine, however I am not able to access any functions which would return multiple values.
MSR Read function should return two DWORD;, eax and edx.
CPUID function should return quad DWORDs; eax, ebx, ecx, edx.
For RdMsr:
BOOL // TRUE: success, FALSE: failure WINAPI Rdmsr( DWORD index, // MSR index PDWORD eax, // bit 0-31 PDWORD edx // bit 32-63
For CPUID:
BOOL // TRUE: success, FALSE: failure WINAPI Cpuid( DWORD index, // CPUID index PDWORD eax, PDWORD ebx, PDWORD ecx, PDWORD edx
[ autoit ]
$CPUID1[0] - $CPUID1[5] variables return zero, except $CPUID1[1] which is 1 (0x00000001) of course.
Any help would be highly appreciated as I am a total newbie with AutoIT
![:](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/crying.gif)