LoadLibraryW Method
- Last UpdatedNov 06, 2025
- 1 minute read
The load library w.
'Declaration
<SuppressMessageAttribute("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")>
Friend Shared Function LoadLibraryW( _
ByVal lpMdoule As String _
) As IntPtr
'Usage
Dim lpMdoule As String
Dim value As IntPtr
value = NativeMethods.LoadLibraryW(lpMdoule)
[SuppressMessage("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")]
internal static IntPtr LoadLibraryW(
string lpMdoule
)
Parameters
- lpMdoule
- The name of the module to load.
Return Value
Handle of the loaded DLL.