windows experts here ?
Oleg Gusev
oleg@crista.uni-wuppertal.de
Tue Mar 1 22:57:34 CET 2005
Can somebody tell me how to call the GetProcAddress with the ordinal
instead of the text string in wince ? I've tried to dump a bit of virtual
memory content some time ago with this modification in hpcboot ...
I know, i should have used haret820, but it is not available for SH4.
_dll = LoadLibrary(TEXT("coredll.dll"));
i= (unsigned long) GetProcAddress(_dll, name);
DPRINTF((TEXT("coredll ProcAddress(%s)= %8.8x %8.8x %8.8x %8.8x\n"),
name,(unsigned long)GetProcAddress(_dll,name)-0x01f42000,
*(unsigned long *)i,*(((*((unsigned long *)(i+8))));
/*
"dll" text j820e size aero8000
-------------------------------------------
netui 01d8 73728 01d7
unimodem 01c1 40960 01c0
tapi 01c2 40960 01c1
commctrl 01f2 299008 01f3
redir 01bf 106496 01be
irdastk 01c3 77824 01c2
netbios 01be 45056 01bd
dhcp 01c7 32768 01c6
arp 01cc 40960 01cb
tcpstk 01c5 126976 01c4
ppp 01d6 81920 01d5
cxport 01d5 24576 01d4
afd 01cd 57344 01cc
waveapi 01e1 102400 01e0
winsock 01d3 36864 01d2
ircomm 01d4 24576 01d3
hpirda 011b 40960 -
ndis 01cb 65535 01ca
usbd 011d 32768 -
ohci 011e 57344 -
glidepad 0128 24576 -
wavedev 012a 32768 011d
mobilev.acm 0191 69632 0190
ceddk 01e0 20480 01df
serial 0126 45056 011f
hplib 0117 40960 -
pcmcia 0127 53248 011e
coredll 01fa 331776 01fb
keybddr 0129 32768 0124
ddi 012b 61440 0120
wininet 01bc 90112
imgdecmp 01b3 61440
webview 01a8 544768
ceshell 01b4 339968
oleaut32 01da 184320
ole32 01dd 163840
asform 01ba 106496
winsuck 01d3 36864
- 0104
- 0105
- 0106
fmdlib - - 0111
flashmgr - - 0126
drvlib - - 0129
smartcard - - 010f 24576
modem - - 011b 32768
backlight - - 0121
syntp - - 0123
e5 - - 0127
i2csmbus - - 0110
fmdev - - 0112
ecirda - - 011c
eipower - - 0128
*/
More information about the Jornada820
mailing list