UnsanitySCR_CanInstall |
Check whether this library can install Smart Crash Reports on user's system.
Boolean UnsanitySCR_CanInstall();
Returns whether Smart Crash Reports can be installed.
UnsanitySCR_Install |
Attempt to install Smart Crash Reports on user's system.
OSStatus UnsanitySCR_Install();
UnsanitySCR_Install_ErrorCode result codes.
Installs Smart Crash Reports from the library's archive, if possible.
UnsanitySCR_InstallableVersion |
Get the version of Smart Crash Reports that this library can install.
UInt32 UnsanitySCR_InstallableVersion();
Returns the version of Smart Crash Reports that this library can install.
UnsanitySCR_InstalledVersion |
Get the version of Smart Crash Reports installed on user's system.
UInt32 UnsanitySCR_InstalledVersion();
Returns the version of Smart Crash Reports installed on user's system.
UnsanitySCR_Install_ErrorCode |
Result codes returned from the UnsanitySCR_Install() function
enum {
kUnsanitySCR_Install_NoError = 0,
kUnsanitySCR_Install_OutOfMemory = -108,
kUnsanitySCR_Install_InstalledGlobally = -13,
kUnsanitySCR_Install_NoPermissions = -54,
kUnsanitySCR_Install_WillNotInstall = -14
} UnsanitySCR_Install_ErrorCode;
kUnsanitySCR_Install_NoError- No error. Installation succeeded.
kUnsanitySCR_Install_OutOfMemory- Could not allocate needed memory for the installation.
kUnsanitySCR_Install_InstalledGlobally- Smart Crash Reports are already installed globally and this API can not install into /Library as it would require additional fiddling with the authorization which is beyond the scope of this API.
kUnsanitySCR_Install_NoPermissions- Could not install because of file permission issues.
kUnsanitySCR_Install_WillNotInstall- Could not install because a newer or same version of Smart Crash Reports is already installed.
These error codes will be returned from the UnsanitySCR_Install() function.
(Last Updated September 07, 2005)