Main Page File List Globals

# skeyinst.h

Go to the documentation of this file.

    00001
    00030 #ifndef __SKEYINST_H
    00031 #define __SKEYINST_H
    00032
    00033 #ifdef __cplusplus
    00034 extern "C" {
    00035 #endif
    00036
    00037 /* Only for internal use */
    00038 #ifdef SKEYINST_EXPORTS
    00039 #define SKEYINST_LINK
    00040 #else
    00041 #define SKEYINST_LINK __declspec(dllimport)
    00042 #endif
    00043 #define SKEYINST_CALL __stdcall
    00044
    00053 SKEYINST_LINK DWORD SKEYINST_CALL SkeyInstallUSB(void);
    00054
    00063 SKEYINST_LINK DWORD SKEYINST_CALL SkeyInstallPar(void);
    00064
    00073 SKEYINST_LINK DWORD SKEYINST_CALL SkeyInstallGSS2(void);
    00074
    00081 SKEYINST_LINK DWORD SKEYINST_CALL SkeyUnInstallUSB(void);
    00082
    00089 SKEYINST_LINK DWORD SKEYINST_CALL SkeyUnInstallPar(void);
    00090
    00095 SKEYINST_LINK DWORD SKEYINST_CALL SkeyUnInstallGSS2(void);
    00096
    00104 SKEYINST_LINK DWORD SKEYINST_CALL SkeyForceUnInstallUSB(void);
    00105
    00113 SKEYINST_LINK DWORD SKEYINST_CALL SkeyForceUnInstallPar(void);
    00114
    00122 SKEYINST_LINK DWORD SKEYINST_CALL SkeyForceUnInstallGSS2(void);
    00123
    00128 SKEYINST_LINK DWORD SKEYINST_CALL SkeyGetLastError(void);
    00129
    00140 #define SKEYINST_PROBE_USB_INSTALLED 1
    00141
    00145 #define SKEYINST_PROBE_USB_RUNNING 2
    00146
    00151 #define SKEYINST_PROBE_USB_VERSION 13
    00152
    00156 #define SKEYINST_PROBE_PARALLEL_INSTALLED 3
    00157
    00161 #define SKEYINST_PROBE_PARALLEL_RUNNING 4
    00162
    00167 #define SKEYINST_PROBE_PARALLEL_VERSION 14
    00168
    00172 #define SKEYINST_PROBE_GSS2_INSTALLED 11
    00173
    00177 #define SKEYINST_PROBE_GSS2_RUNNING 12
    00178
    00183 #define SKEYINST_PROBE_GSS2_VERSION 15
    00184
    00189 #define SKEYINST_PROBE_INSTALL_BUSY 9
    00190
    00195 #define SKEYINST_PROBE_ADMINISTRATOR_PERMISSION 10
    00196
    00205 SKEYINST_LINK DWORD SKEYINST_CALL SkeyProbe(DWORD Code, DWORD* Found);
    00206
    00215 SKEYINST_LINK DWORD SKEYINST_CALL SkeyLogFile(const char* Path);
    00216
    00221
    00236 #define SKEYINST_ERROR_WAIT -3
    00237
    00242 #define SKEYINST_ERROR_UNSUPPORTED -2
    00243
    00251 #define SKEYINST_ERROR_FAIL -1
    00252
    00256 #define SKEYINST_OK 0
    00257
    00262 #define SKEYINST_WARNING_MUST_REBOOT 1
    00263
    00268 #define SKEYINST_WARNING_MUST_INSERT 2
    00269
    00272 #ifdef __cplusplus
    00273 }
    00274 #endif
    00275
    00276 #endif