Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

117 lines
1.9 KiB

/*++
winntmig.h
Copyright (c) 2001 Microsoft Corporation
This header file contains definitions and typedefs used for NT->Windows XP Fax Migration.
Author:
Jonathan Barner, Dec. 2001
--*/
#ifndef __WINNTMIG_H__
#define __WINNTMIG_H__
#include <windows.h>
#include <setupapi.h>
//
// Defines
//
typedef enum {
OS_WINDOWS9X = 0,
OS_WINDOWSNT4X = 1,
OS_WINDOWS2000 = 2,
OS_WINDOWSWHISTLER = 3
} OS_TYPES, *POS_TYPES;
typedef struct {
CHAR CompanyName[256];
CHAR SupportNumber[256];
CHAR SupportUrl[256];
CHAR InstructionsToUser[1024];
} VENDORINFO, *PVENDORINFO;
//
// Migration Info Stuctures
//
typedef struct {
SIZE_T Size;
PCWSTR StaticProductIdentifier;
UINT DllVersion;
PINT CodePageArray;
UINT SourceOs;
UINT TargetOs;
PCWSTR* NeededFileList;
PVENDORINFO VendorInfo;
} MIGRATIONINFOW, *PMIGRATIONINFOW;
LONG
CALLBACK
QueryMigrationInfoW(
OUT PMIGRATIONINFOW *ppMigrationInfo
);
LONG
CALLBACK
InitializeSrcW(
IN PCWSTR WorkingDirectory,
IN PCWSTR SourceDirectories,
IN PCWSTR MediaDirectory,
PVOID Reserved
);
LONG
CALLBACK
InitializeDstW(
IN PCWSTR WorkingDirectory,
IN PCWSTR SourceDirectories,
PVOID Reserved
);
LONG
CALLBACK
GatherUserSettingsW(
IN PCWSTR AnswerFile,
IN HKEY UserRegKey,
IN PCWSTR UserName,
PVOID Reserved
);
LONG
CALLBACK
GatherSystemSettingsW(
IN PCWSTR AnswerFile,
PVOID Reserved
);
LONG
CALLBACK
ApplyUserSettingsW(
IN HINF UnattendInfHandle,
IN HKEY UserRegHandle,
IN PCWSTR UserName,
IN PCWSTR UserDomain,
IN PCWSTR FixedUserName,
PVOID Reserved
);
LONG
CALLBACK
ApplySystemSettingsW(
IN HINF UnattendInfHandle,
PVOID Reserved
);
#endif // __WINNTMIG_H__