LdrUnloadDll - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

NTSYSAPI
NTSTATUS
NTAPI
LdrUnloadDll(
    _In_ PVOID DllHandle
    );

#endif
#endif

View code on GitHub

ModuleHandle

In fact, ModuleHandle is virtual address of loaded module, not a typical HANDLE to object.

See also