Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::win32::Win32DynamicLibrary Class Reference

Class that represents the Win32 dynamic library. More...

#include <kanzi/core.ui/platform/windowing_ng/win32/win32_dynamic_library.hpp>

Public Member Functions

KZ_NO_DISCARD FARPROC getProcAddress (const string &procName) const noexcept
 Gets the procedure address of the dynamically loaded function. More...
 
 Win32DynamicLibrary ()=default
 Default constructor. No library loaded by default. More...
 
 Win32DynamicLibrary (const Win32String &libraryPath)
 Constructor. More...
 
 Win32DynamicLibrary (HMODULE handle)
 Constructor. More...
 
 ~Win32DynamicLibrary ()
 Destructor. More...
 

Detailed Description

Class that represents the Win32 dynamic library.

Since
Kanzi 3.9.7

Constructor & Destructor Documentation

kanzi::win32::Win32DynamicLibrary::Win32DynamicLibrary ( )
explicitdefault

Default constructor. No library loaded by default.

kanzi::win32::Win32DynamicLibrary::Win32DynamicLibrary ( const Win32String libraryPath)
explicit

Constructor.

Parameters
libraryPathThe path to the library to load.
kanzi::win32::Win32DynamicLibrary::Win32DynamicLibrary ( HMODULE  handle)
explicit

Constructor.

Parameters
handleNative library module handle.
kanzi::win32::Win32DynamicLibrary::~Win32DynamicLibrary ( )

Destructor.

Member Function Documentation

KZ_NO_DISCARD FARPROC kanzi::win32::Win32DynamicLibrary::getProcAddress ( const string &  procName) const
noexcept

Gets the procedure address of the dynamically loaded function.

Parameters
procNameName of the dynamically loaded function.
Returns
Procedure address of the dynamically loaded function.

The documentation for this class was generated from the following file: