added and documented wxDllLoader::GetDllExt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,33 +76,15 @@ a handle to a loaded DLLs on the given platform.
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxDllLoader::LoadLibrary}\label{wxdllloaderloadlibrary}
|
||||
\membersection{wxDllLoader::GetDllExt}\label{wxdllloadergetdllext}
|
||||
|
||||
\func{wxDllType}{LoadLibrary}{\param{const wxString \& }{libname}, \param{bool* }{success = NULL}}
|
||||
\func{static wxString}{GetDllExt}{\void}
|
||||
|
||||
This function loads a shared library into memory, with {\it libname} being the
|
||||
name of the library: it may be either the full name including path and
|
||||
(platform-dependent) extenesion, just the basename (no path and no extension)
|
||||
or a basename with extentsion. In the last two cases, the library will be
|
||||
searched in all standard locations.
|
||||
Returns the string containing the usual extension for shared libraries for the
|
||||
given systems (including the leading dot if not empty).
|
||||
|
||||
Returns a handle to the loaded DLL. Use {\it success} parameter to test if it
|
||||
is valid. If the handle is valid, the library must be unloaded later with
|
||||
\helpref{UnloadLibrary}{wxdllloaderunloadlibrary}.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{libname}{Name of the shared object to load.}
|
||||
|
||||
\docparam{success}{May point to a bool variable which will be set to TRUE or
|
||||
FALSE; may also be {\tt NULL}.}
|
||||
|
||||
\membersection{wxDllLoader::UnloadLibrary}\label{wxdllloaderunloadlibrary}
|
||||
|
||||
\func{void}{UnloadLibrary}{\param{wxDllType }{dllhandle}}
|
||||
|
||||
This function unloads the shared library. The handle {\it dllhandle} must have
|
||||
been returned by \helpref{LoadLibrary}{wxdllloaderloadlibrary} previously.
|
||||
For example, this function will return {\tt ".dll"} under Windows or (usually)
|
||||
{\tt ".so"} under Unix.
|
||||
|
||||
\membersection{wxDllLoader::GetProgramHandle}\label{wxdllloadergetprogramhandle}
|
||||
|
||||
@@ -132,3 +114,32 @@ an error occured.
|
||||
|
||||
\docparam{name}{Name of the symbol.}
|
||||
|
||||
\membersection{wxDllLoader::LoadLibrary}\label{wxdllloaderloadlibrary}
|
||||
|
||||
\func{wxDllType}{LoadLibrary}{\param{const wxString \& }{libname}, \param{bool* }{success = NULL}}
|
||||
|
||||
This function loads a shared library into memory, with {\it libname} being the
|
||||
name of the library: it may be either the full name including path and
|
||||
(platform-dependent) extenesion, just the basename (no path and no extension)
|
||||
or a basename with extentsion. In the last two cases, the library will be
|
||||
searched in all standard locations.
|
||||
|
||||
Returns a handle to the loaded DLL. Use {\it success} parameter to test if it
|
||||
is valid. If the handle is valid, the library must be unloaded later with
|
||||
\helpref{UnloadLibrary}{wxdllloaderunloadlibrary}.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{libname}{Name of the shared object to load.}
|
||||
|
||||
\docparam{success}{May point to a bool variable which will be set to TRUE or
|
||||
FALSE; may also be {\tt NULL}.}
|
||||
|
||||
\membersection{wxDllLoader::UnloadLibrary}\label{wxdllloaderunloadlibrary}
|
||||
|
||||
\func{void}{UnloadLibrary}{\param{wxDllType }{dllhandle}}
|
||||
|
||||
This function unloads the shared library. The handle {\it dllhandle} must have
|
||||
been returned by \helpref{LoadLibrary}{wxdllloaderloadlibrary} previously.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user