Export (0) Print
Expand All
Expand Minimize

FGetComponentPath

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the path to the private Mapi32.dll.

BOOL FGetComponentPath(
  LPCSTR szComponent,
  LPSTR szQualifier,
  LPSTR szDllPath,
  DWORD cchBufferSize,
  BOOL fInstall
);

szComponent

[in] The MSIComponentID reg key described in Mapi32.dll Stub Registry Settings.

szQualifier

[in] The MSIApplicationLCID or MSIOfficeLCID subkey described in Setting Up the MSI Keys for Your MAPI DLL. Callers can pass NULL if there is no qualifier.

szDllPath

[in] The path to the private Mapi32.dll, which has full MAPI functionality (the same exports as the Mapi32.dll).

cchBufferSize

[in, out] The size of szDllPath, in characters.

fInstall

[in] Tells MAPI to install the private Mapi32.dll component if it is absent.

TRUE

The path was found.

FALSE

The path was not found.

Use the FGetComponentPath function when you need to get the path to the private Mapi32.dll.

Show:
© 2014 Microsoft