bindSymbol_stdcall

Formats a symbol using the Windows stdcall mangling if necessary before passing it on to bindSymbol.

@nogc nothrow
void
bindSymbol_stdcall
(
T
)
(,
ref T ptr
,
const(char)* symbolName
)

Parameters

lib SharedLib

a valid handle to a shared library loaded via the load function.

ptr T

a reference to a function or variable of matching the template parameter type whose declaration is appropriate for the symbol being bound (it is up to the caller to verify the types match).

symbolName const(char)*

the name of the symbol to bind.

Meta