SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Method FromRaw

    FromRaw(void*)

    Creates a FunctionPointer from a raw pointer.

    Declaration
    public static FunctionPointer FromRaw(void* raw)
    Parameters
    Type Name Description
    void* raw

    The raw pointer specifying the target function that the resulting FunctionPointer will point to.

    Returns
    Type Description
    FunctionPointer

    A FunctionPointer that points to the same target function as the specified raw pointer.

    Implements
    IPointer<TSelf>.FromRaw(void*)
    Remarks

    The raw pointer must not be null. If it is, an ArgumentNullException will be thrown.

    The resulting FunctionPointer will point to the same target function as raw.

    Exceptions
    Type Condition
    ArgumentNullException

    raw is null

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.