• LoadLibrary And GetProcAddress And FreeLibrary


    LoadLibrary
    HMODULE WINAPI LoadLibrary(
    __in LPCTSTR lpFileName
    );
    Return Value
    If the function succeeds, the return value is a handle to the module.If the function fails, the return value is NULL. To get extended error information, call GetLastError.
    Remarks
    If lpFileName does not include a path and there is more than one loaded module with the same base name and extension, the function returns a handle to the module that was loaded first.

    GetProcAddress
    Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
    FARPROC WINAPI GetProcAddress(
    __in HMODULE hModule,
    __in LPCSTR lpProcName
    );
    Return Value
    If the function succeeds, the return value is the address of the exported function or variable.
    If the function fails, the return value is NULL. To get extended error information, call GetLastError.

    TEST
  • 相关阅读:
    2
    网络对抗第四次实验恶意代码
    网络对抗第三次实验
    网络对抗第二次实验
    网络攻防第一次实验
    123
    数据结构
    第五次实验
    第二次实验
    Qt应用笔记
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1401777.html
Copyright © 2020-2023  润新知