32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
proc AddCCListItem, .hStr, .ptrLabel
begin
push eax ecx edx
invoke GetWindowLong, [hCCList], GWL_USERDATA
stdcall AddArrayItem, eax
pushd [.ptrLabel]
popd [eax]
invoke SetWindowLong, [hCCList], GWL_USERDATA, edx
pop edx ecx eax
return
endp
|
|
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
proc AddCCListItem, .hStr, .ptrLabel
begin
push eax ecx edx
invoke GetWindowLong, [hCCList], GWL_USERDATA
stdcall AddArrayItems, eax, 1
pushd [.ptrLabel]
popd [eax]
invoke SetWindowLong, [hCCList], GWL_USERDATA, edx
pop edx ecx eax
return
endp
|