flat assembler
Message board for the users of flat assembler.
Index
> Windows > [HELP] GetCurrentHwProfile |
Author |
|
Picnic 26 Sep 2011, 09:11
Hi,
Try this Code: HW_PROFILE_GUIDLEN = 100 MAX_PROFILE_LEN = 100 struct HW_PROFILE_INFO dwDockInfo dd 0 szHwProfileGuid TCHAR HW_PROFILE_GUIDLEN szHwProfileName TCHAR MAX_PROFILE_LEN ends hwProfileInfo HW_PROFILE_INFO |
|||
26 Sep 2011, 09:11 |
|
Ianis 26 Sep 2011, 14:01
Thanks a lot Picnic, but my question is more like "How to access the structure ? "
invoke GetCurrentHwProfile, hwProfileInfo cmp eax, 0 jnz .continue jmp .exit .... Then how to read hwProfileInfo.szHwProfileGuid now ? |
|||
26 Sep 2011, 14:01 |
|
Picnic 26 Sep 2011, 17:39
The messagebox shows {8c231c40-6499-11e0-b780-806d6172696f} on my pc although have no idea what is this.
Code: lea edx, [hwProfileInfo.szHwProfileGuid] invoke MessageBox, HWND_DESKTOP, edx, '', 0 Last edited by Picnic on 29 Mar 2012, 22:17; edited 2 times in total |
|||
26 Sep 2011, 17:39 |
|
DJ Mauretto 26 Sep 2011, 18:32
Quote: The messagebox shows {8c231c40-6499-11e0-b780-806d6172696f} on my pc although have no idea what is this. Globally unique identifier.. Search on Google _________________ Nil Volentibus Arduum |
|||
26 Sep 2011, 18:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.