LoadLibraryExW Method
- Last UpdatedNov 06, 2025
- 1 minute read
The load library w.
'Declaration
Public Shared Function LoadLibraryExW( _
ByVal lpMdoule As String, _
ByVal wParam As IntPtr, _
ByVal flag As Integer _
) As IntPtr
'Usage
Dim lpMdoule As String
Dim wParam As IntPtr
Dim flag As Integer
Dim value As IntPtr
value = NativeMethods.LoadLibraryExW(lpMdoule, wParam, flag)
Parameters
- lpMdoule
- The name of the module to load.
- wParam
- The handle
- flag
- The action to be taken when loading the module
Return Value
Handle of the loaded DLL.