flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 19 Aug 2004, 15:27
Add the two variables to your data section:
Code: valueType dd ?
bufferSize dd 10 and use RegQueryValueEx this way: Code: invoke RegQueryValueEx,[regHandle],regItem,0,valueType,regItemValue,bufferSize This function fills the [valueType] variable with the type of value (REG_SZ or other), and the [bufferSize] variable with size of copied data (this variable should contain the actual size of buffer before you call this function). |
|||
![]() |
|
vbVeryBeginner 19 Aug 2004, 15:46
oh man, you are GREAT
![]() ![]() ![]() you just save my another six hours ![]() anyone please confirm my understanding ![]() does this mean, when using WinAPI, we must NOT fill the function parameters that are able to [in,out] or [out] with direct value. coz if i change the valueType to REG_SZ, i get passed but regItemValue == nothing? i really appreciate your help. thank you very much d( 0 )b sincerely, vbVeryBeginner d(0*0)b |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.