Menu

FGetComponentPath - Where is this function defined?

Soren Bro
2018-10-31
2018-11-01
  • Pete Maclean

    Pete Maclean - 2018-10-31

    It is not defined in any header file but its signature is:

    typedef BOOL (STDAPICALLTYPE FGETCOMPONENTPATH)
    (LPCSTR szComponent,
    LPCSTR szQualifier,
    LPSTR szDllPath,
    DWORD cchBufferSize,
    BOOL fInstall);

    Its purpose is to provide the path of the directory where the MAPI Services file (MAPISVC.INF) and related files reside. Since I think we can safely remove MAPI capability in Hermes, as I have said before, it should be fine to remove references to this function.

     
  • Pete Maclean

    Pete Maclean - 2018-10-31

    If you need to call it then yes, you will need to load the requisite MAPI DLL and then call GetProcAddress to get the address of the function.

     

Log in to post a comment.