// Purpose: interface of wxDynamicLibrary and wxDynamicLibraryDetails
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
@return @true if the load address and module size were retrieved,
@false if this information is not available.
*/
- bool GetAddress(void** addr, size_t len) const;
+ bool GetAddress(void* addr, size_t* len) const;
/**
- Returns the base name of this module, e.g. @c "kernel32.dll" or
+ Returns the base name of this module, e.g.\ @c "kernel32.dll" or
@c "libc-2.3.2.so".
*/
wxString GetName() const;
/**
- Returns the full path of this module if available, e.g.
- @c "c:\windows\system32\kernel32.dll" or @c "/lib/libc-2.3.2.so".
+ Returns the full path of this module if available, e.g.\ @c "c:\windows\system32\kernel32.dll"
+ or @c "/lib/libc-2.3.2.so".
*/
wxString GetPath() const;
/**
- Returns the version of this module, e.g. @c "5.2.3790.0" or @c "2.3.2".
+ Returns the version of this module, e.g.\ @c "5.2.3790.0" or @c "2.3.2".
The returned string is empty if the version information is not
available.
*/
@class wxDynamicLibrary
wxDynamicLibrary is a class representing dynamically loadable library
- (Windows DLL, shared library under Unix etc.). Just create an object of
+ (Windows DLL, shared library under Unix etc). Just create an object of
this class to load a library and don't worry about unloading it -- it will
be done in the objects destructor automatically.
wxPluginCategory cat = wxDL_PLUGIN_GUI);
/**
- Detaches this object from its library handle, i.e. the object will not
+ Detaches this object from its library handle, i.e.\ the object will not
unload the library any longer in its destructor but it is now the
callers responsibility to do this using Unload().
*/
@see wxDYNLIB_FUNCTION()
*/
- void* GetSymbol(const wxString& name) const;
+ void* GetSymbol(const wxString& name, bool* success = 0) const;
/**
This function is available only under Windows as it is only useful when
function, you can use just the base name of the function and the
correct suffix is appended automatically depending on the current
build. Otherwise, this method is identical to GetSymbol().
+
+ @onlyfor{wxmsw}
*/
void* GetSymbolAorW(const wxString& name) const;
// Global functions/macros
// ============================================================================
-/** @ingroup group_funcmacro_misc */
+/** @addtogroup group_funcmacro_misc */
//@{
/**