vuGlobalsLoad()
Purpose
Loads persisted vuMailKit global settings from registry storage into current runtime memory.
Parameters
Return value / error codes
Example (Clarion)
MAP
MODULE('vuMail.dll')
vuGlobalsLoad(),SIGNED,PROC,PASCAL,RAW,NAME('vuGlobalsLoad')
END
END
rc LONG
rc = vuGlobalsLoad()
IF rc <> 1
MESSAGE('Unexpected rc from vuGlobalsLoad: ' & rc)
END
Notes
- Legacy alias: vuMailGetGlobals().
- Reads values from
HKCU\SOFTWARE\vuPrograms\vuMail.
- This function refreshes runtime configuration; call it again if registry values were changed outside the current process.
- AuthMode/OAuth is not used by this function.