[MPlayer-dev-eng] How to use the Wine portion?

Mike Melanson melanson at pcisys.net
Sun Nov 18 07:20:30 CET 2001


Hi,
	Is there anyone on this list who understands the underlying
functionality of the Wine portions of code used in MPlayer? I'm trying to
figure out how to use the functions and structures defined in
loader/wine/*.h in order to manually load functions and check information
about them. I know that the Wine stuff is supposed to worry about all of
that for me, but I'm trying to do some things that Wine wasn't
specifically meant to do.

	I would definitely like to RTFM on this matter, if only someone
could point me to TFM in the first place. So far, I'm using the
PE_LoadLibraryExA() function to load a DLL, and this function returns a
WINE_MODREF structure. When I use it, the structure is not null, but I
don't understand what any of the structure members mean. More accurately,
I believe I understand what they should mean, but the returned values
don't make any sense.

	Eventually, my goals are to 1) load a DLL into memory, 2) check 
the base address into which the DLL was loaded, and 3) check the file
version of the DLL.

	Any clues? Thanks...
-- 
	-Mike Melanson




More information about the MPlayer-dev-eng mailing list