Ich bin nun schon etwas weiter gekommen. Es wird dazu die "AIGear.dll, AiNap.dll, AsAcpi.dll, AsSpindownTimeout.dll" genutzt. bin gerade dabei die Funktionen zu der "AIGear.dll" zu Schreiben habe bisher
Code:
Function AiGearInit:Boolean;stdcall external'AIGear.dll';
Function IsFanControlSupported:Boolean;stdcall external'AIGear.dll';
Function IsThermostatSupported:Boolean;stdcall external'AIGear.dll';
Function IsAiGearTwoSupported:Boolean;stdcall external'AIGear.dll';
Function IsAiBoosterThreeSupported:Boolean;stdcall external'AIGear.dll';
Function IsQFanThreeSupported:Boolean;stdcall external'AIGear.dll';
// hier ist noch ein Fehler
Function AiGearGetLevel(var Value:Cardinal):Boolean;stdcall external'AIGear.dll';
Function AiGearSetLevel(var Value, NewValue:Cardinal):Boolean;stdcall external'AIGear.dll';
Ich denke mal es wird noch etwas dauern bis ich alle habe.
================================================== ===============================================
Ich kann das nicht deuten
Code:
public AiGearGetLevel
.text:100017F0 AiGearGetLevel proc near
.text:100017F0
.text:100017F0 arg_0 = dword ptr 4
.text:100017F0 arg_4 = byte ptr 8
.text:100017F0 arg_14 = dword ptr 18h
.text:100017F0 arg_1004 = dword ptr 1008h
.text:100017F0 arg_100C = dword ptr 1010h
.text:100017F0
.text:100017F0 mov eax, 100Ch
.text:100017F5 call sub_1000E210
.text:100017FA mov eax, dword_10029A20
.text:100017FF xor eax, esp
.text:10001801 mov [esp+arg_1004], eax
.text:10001808 cmp dword_1002AF68, 3
.text:1000180F push esi
.text:10001810 mov esi, [esp+4+arg_100C]
.text:10001817 mov [esp+4+arg_0], 1000h
.text:1000181F jnb short loc_1000185E
.text:10001821 lea eax, [esp+4+arg_0]
.text:10001825 push eax
.text:10001826 lea ecx, [esp+8+arg_4]
.text:1000182A push ecx
.text:1000182B push offset aGplv ; "GPLV"
.text:10001830 call sub_10001210
.text:10001835 add esp, 0Ch
.text:10001838 test eax, eax
.text:1000183A jnz short loc_10001856
.text:1000183C xor al, al
.text:1000183E pop esi
.text:1000183F mov ecx, [esp+arg_1004]
.text:10001846 xor ecx, esp
.text:10001848 call sub_1000DE4F
.text:1000184D add esp, 100Ch
.text:10001853 retn 4
.text:10001856 ; ---------------------------------------------------------------------------
.text:10001856
.text:10001856 loc_10001856: ; CODE XREF: AiGearGetLevel+4Aj
.text:10001856 mov edx, [esp+4+arg_14]
.text:1000185A mov [esi], edx
.text:1000185C jmp short loc_1000187E
.text:1000185E ; ---------------------------------------------------------------------------
.text:1000185E
.text:1000185E loc_1000185E: ; CODE XREF: AiGearGetLevel+2Fj
.text:1000185E lea eax, [esp+4]
.text:10001862 push eax
.text:10001863 push 0B060001h
.text:10001868 mov dword ptr [esp+0Ch], 0
.text:10001870 call sub_10001500
.text:10001875 mov ecx, [esp+0Ch]
.text:10001879 add esp, 8
.text:1000187C mov [esi], ecx
.text:1000187E
.text:1000187E loc_1000187E: ; CODE XREF: AiGearGetLevel+6Cj
.text:1000187E mov ecx, [esp+4+arg_1004]
.text:10001885 pop esi
.text:10001886 xor ecx, esp
.text:10001888 mov al, 1
.text:1000188A call sub_1000DE4F
.text:1000188F add esp, 100Ch
.text:10001895 retn 4
.text:10001895 AiGearGetLevel endp ; sp = 100Ch