#include "icmupg.h"
#include "msg.h"
#include <setupapi.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | tagMANUMODELIDS |
struct | tagREGDATA |
struct | VENDORINFO |
Typedefs | |
typedef tagMANUMODELIDS | MANUMODELIDS |
typedef tagMANUMODELIDS * | PMANUMODELIDS |
typedef tagREGDATA | REGDATA |
typedef tagREGDATA * | PREGDATA |
typedef BOOL(WINAPI * | PFNINSTALLCOLORPROFILEA )(PSTR, PSTR) |
typedef BOOL(WINAPI * | PFNINSTALLCOLORPROFILE )(LPCTSTR, LPCTSTR) |
typedef BOOL(WINAPI * | PFNENUMCOLORPROFILES )(PCTSTR, PENUMTYPE, PBYTE, PDWORD, PDWORD) |
typedef * | PVENDORINFO |
Functions | |
VOID | InternalUpgradeICM () |
VOID | UpgradeClass (HKEY) |
BOOL | AssociateMonitorProfile () |
BOOL | AssociatePrinterProfiles (HKEY) |
VOID | InstallProfiles () |
VOID | DeleteOldICMKey () |
void | GetManuAndModelIDs (PTSTR, DWORD *, DWORD *) |
int | lstrcmpn (PTSTR, PTSTR, DWORD) |
BOOL WINAPI | DllEntryPoint (HINSTANCE hinstDll, DWORD dwReason, LPVOID lpReserved) |
LONG CALLBACK | QueryVersion (OUT LPCSTR *pszProductID, OUT LPUINT puDllVersion, OUT LPINT *pCodePageArray, OPTIONAL OUT LPCSTR *ppszExeNamesBuf, OPTIONAL OUT PVENDORINFO *ppVendorInfo) |
LONG CALLBACK | Initialize9x (IN LPCSTR pszWorkingDir, IN LPCSTR pszSourceDir, IN LPVOID pvReserved) |
LONG CALLBACK | MigrateUser9x (IN HWND hwndParent, IN LPCSTR pszUnattendFile, IN HKEY hUserRegKey, IN LPCSTR pszUserName, LPVOID pvReserved) |
LONG CALLBACK | MigrateSystem9x (IN HWND hwndParent, IN LPCSTR pszUnattendFile, LPVOID pvReserved) |
LONG CALLBACK | InitializeNT (IN LPCWSTR pszWorkingDir, IN LPCWSTR pszSourceDir, LPVOID pvReserved) |
LONG CALLBACK | MigrateUserNT (IN HANDLE hUnattendInf, IN HKEY hUserRegKey, IN LPCWSTR pszUserName, LPVOID pvReserved) |
LONG CALLBACK | MigrateSystemNT (IN HANDLE hUnattendInf, LPVOID pvReserved) |
void | MyMoveDir (char *s, char *d) |
Variables | |
TCHAR const | gszICMRegPath [] = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ICM" |
TCHAR const | gszProfile [] = "profile" |
TCHAR const | gszMSCMSdll [] = "mscms.dll" |
char const | gszProductID [] = "Microsoft Color Management System" |
char const | gszInstallColorProfile [] = "InstallColorProfileA" |
char const | gszGetColorDirectory [] = "GetColorDirectoryA" |
char const | gszEnumColorProfiles [] = "EnumColorProfilesA" |
VENDORINFO | gVendorInfo |
char | gszMigInf [MAX_PATH] |
char const | gszFullICMRegPath [] = "\"HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ICM\"" |
char const | gszInstallColorProfileA [] = "InstallColorProfileA" |
TCHAR | szValue [MAX_PATH] |
TCHAR | szName [MAX_PATH] |
PFNINSTALLCOLORPROFILEA | pInstallColorProfileA = NULL |
PFNINSTALLCOLORPROFILE | pInstallColorProfile = NULL |
PFNENUMCOLORPROFILES | pEnumColorProfiles = NULL |
HINSTANCE | hinstMigDll |
|
|
|
Definition at line 51 of file icmupg.c. Referenced by MigrateSystem9x(). |
|
Definition at line 50 of file icmupg.c. Referenced by MigrateSystemNT(). |
|
Definition at line 49 of file icmupg.c. Referenced by MigrateSystemNT(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 600 of file icmupg.c. References DWORD, gszICMRegPath, and NULL. Referenced by MigrateSystemNT().
|
|
Definition at line 110 of file icmupg.c. References hinstMigDll, and TRUE.
|
|
|
|
Definition at line 215 of file icmupg.c. References gszMigInf, and WARNING.
|
|
Definition at line 470 of file icmupg.c. References FALSE.
|
|
Definition at line 726 of file icmupg.c. References ASSERT, CHAR, gszMigInf, INVALID_HANDLE_VALUE, MAX_PATH, MyMoveDir(), NULL, pInstallColorProfileA, and sprintf(). Referenced by MigrateSystemNT().
|
|
Definition at line 833 of file icmupg.c. References CHAR, gszICMRegPath, MAX_PATH, NULL, sprintf(), and UpgradeClass(). Referenced by MigrateSystemNT().
|
|
Definition at line 1048 of file icmupg.c. Referenced by UpgradeClass().
|
|
Definition at line 296 of file icmupg.c. References BYTE, DWORD, gszEnumColorProfiles, gszFullICMRegPath, gszMigInf, gszMSCMSdll, MAX_PATH, NULL, PBYTE, pEnumColorProfiles, PFNENUMCOLORPROFILES, and WARNING.
|
|
Definition at line 534 of file icmupg.c. References CHAR, DeleteOldICMKey(), gszInstallColorProfile, gszInstallColorProfileA, gszMSCMSdll, InstallProfiles(), InternalUpgradeICM(), MAX_PATH, PFNINSTALLCOLORPROFILE, PFNINSTALLCOLORPROFILEA, pInstallColorProfile, pInstallColorProfileA, and sprintf().
|
|
Definition at line 262 of file icmupg.c. References WARNING.
|
|
Definition at line 499 of file icmupg.c.
|
|
Definition at line 665 of file icmupg.c. References MAX_PATH, and sprintf(). Referenced by InstallProfiles().
|
|
Definition at line 139 of file icmupg.c. References VENDORINFO::CompanyName, gszProductID, gVendorInfo, hinstMigDll, VENDORINFO::InstructionsToUser, NULL, VENDORINFO::SupportNumber, VENDORINFO::SupportUrl, and WARNING.
|
|
Definition at line 916 of file icmupg.c. References ASSERT, CHAR, DWORD, gszProfile, lstrcmpn(), MAX_PATH, NULL, pInstallColorProfile, sprintf(), szName, and szValue. Referenced by InternalUpgradeICM().
|
|
Definition at line 73 of file icmupg.c. Referenced by MigrateSystem9x(). |
|
Definition at line 76 of file icmupg.c. Referenced by MigrateSystem9x(). |
|
|
|
|
Definition at line 71 of file icmupg.c. Referenced by MigrateSystemNT(). |
|
Definition at line 78 of file icmupg.c. Referenced by MigrateSystemNT(). |
|
Definition at line 75 of file icmupg.c. Referenced by Initialize9x(), InstallProfiles(), and MigrateSystem9x(). |
|
Definition at line 67 of file icmupg.c. Referenced by MigrateSystem9x(), and MigrateSystemNT(). |
|
Definition at line 69 of file icmupg.c. Referenced by QueryVersion(). |
|
Definition at line 66 of file icmupg.c. Referenced by UpgradeClass(). |
|
Definition at line 74 of file icmupg.c. Referenced by QueryVersion(). |
|
Definition at line 106 of file icmupg.c. Referenced by DllEntryPoint(), and QueryVersion(). |
|
Definition at line 91 of file icmupg.c. Referenced by MigrateSystem9x(). |
|
Definition at line 90 of file icmupg.c. Referenced by MigrateSystemNT(), and UpgradeClass(). |
|
Definition at line 89 of file icmupg.c. Referenced by InstallProfiles(), and MigrateSystemNT(). |
|
Definition at line 87 of file icmupg.c. Referenced by CScannerList::Enumerate(), InitiateWin32kCleanup(), OpenMonitor(), RawInputThread(), UpgradeClass(), and vCheckMMInstance(). |
|
Definition at line 86 of file icmupg.c. Referenced by UpgradeClass(). |