[shell-coding] Re: howto talk to lsapi.dll (or any other dll)?

Done. The code is in the 0.24.7 CVS -- the indie ppl can add
it to their code if they wish. The relevant lines from lsapi.h:

// ------------------------------------------------------------
//  Module Manager API
// ------------------------------------------------------------

// Callback function for LSEnumLoadedModules
typedef BOOL (WINAPI *PFNLSENUMLOADEDMODULESPROC)(LPCSTR pszPath, LPARAM lParam);


// Flags for LSLoadModule
#define LSLMF_THREADED 0x1
#define LSLMF_NOMESSAGEPUMP 0x2

BOOL WINAPI LSEnumLoadedModules(PFNLSENUMLOADEDMODULESPROC pfnCallback, LPARAM lParam);
BOOL WINAPI LSIsModuleLoaded(LPCSTR pszPath);
BOOL WINAPI LSLoadModule(LPCSTR pszPath, DWORD fdwFlags);
BOOL WINAPI LSUnloadModule(LPCSTR pszPath);



Is there anything else that should be there?


--
Maduin


Ah, heh.

Well, something like it would be nice. I have at least one use for them
:)


IModuleManager will not be in 0.24.7. In fact it was
never intended to be public at all. It was a hack I
used for the about box. You can't just pass a
IModuleManager pointer between processes anyway.

If you think that the IModuleManager functions would
be useful to modules then I'll add them as regular
functions to lsapi for 0.24.7.





__________________________________________________ Subscription options and archive: http://www.freelists.org/list/shell-coding

Other related posts: