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.
 
 
 
 
 
 

294 lines
8.3 KiB

#include <winver.h>
#if defined(USE_DS_VER)
#include <dsverp.h>
#else
#include <ntverp.h>
#endif
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "ADMT Module"
#define VER_INTERNALNAME_STR "DomMigSI"
#define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR ".dll"
#include <common.ver>
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"1 TYPELIB ""DomMigSI.tlb""\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_TOOL_32 BITMAP DISCARDABLE "tool_32.bmp"
IDB_TOOL_16 BITMAP DISCARDABLE "tool_16.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//
IDR_DOMMIGRATOR REGISTRY DISCARDABLE "DomMigr.rgs"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_NET_MENU MENU DISCARDABLE
BEGIN
POPUP "TOP"
BEGIN
MENUITEM "Migrate Users and Groups", ID_TOP_MIGRATEUSERSANDGROUPS
MENUITEM "Migrate Computers", ID_TOP_MIGRATECOMPUTERS
END
MENUITEM "NEW", 65535
POPUP "TASK"
BEGIN
MENUITEM "Undo", ID_TASK_UNDO
MENUITEM "Redo", ID_TASK_REDO
END
MENUITEM "VIEW", 65535
END
IDR_ROOT_MENU MENU DISCARDABLE
BEGIN
POPUP "TOP"
BEGIN
MENUITEM "&User Account Migration Wizard",
ID_TOP_MIGRATEUSERSANDGROUPS
MENUITEM "&Group Account Migration Wizard", ID_TOP_MIGRATEGROUPS
MENUITEM "&Computer Migration Wizard", ID_TOP_MIGRATECOMPUTERS
MENUITEM "&Security Translation Wizard", ID_TOP_TRANSLATESECURITY
MENUITEM "&Reporting Wizard", ID_TOP_REPORTING
MENUITEM "Service &Account Migration Wizard",
ID_TOP_MIGRATESERVICEACCOUNTS
MENUITEM "Exchange &Directory Migration Wizard",
ID_TOP_MIGRATEEXCHANGEDIRECTORY
MENUITEM "U&ndo Last Migration Wizard", ID_TOP_UNDO
MENUITEM "Retr&y Task Wizard", ID_TOP_RETRY
MENUITEM "Trust Migration Wi&zard", ID_TOP_MIGRATETRUSTS
MENUITEM "Group &Mapping and Merging Wizard", ID_TOP_GROUPMAPPING
END
POPUP "NEW"
BEGIN
MENUITEM SEPARATOR
END
POPUP "TASK"
BEGIN
MENUITEM SEPARATOR
END
POPUP "VIEW"
BEGIN
MENUITEM SEPARATOR
END
END
IDR_MULTISEL_MENU MENU DISCARDABLE
BEGIN
POPUP "TOP"
BEGIN
MENUITEM SEPARATOR
MENUITEM "Move to...", ID_TOP_MOVE
END
POPUP "NEW"
BEGIN
MENUITEM SEPARATOR
END
POPUP "TASK"
BEGIN
MENUITEM SEPARATOR
END
POPUP "VIEW"
BEGIN
MENUITEM SEPARATOR
MENUITEM "Version Info...", ID_VIEW_VERSION
END
END
IDR_REPORTS MENU DISCARDABLE
BEGIN
MENUITEM "TOP", 65535
POPUP "NEW"
BEGIN
MENUITEM SEPARATOR
END
POPUP "TASK"
BEGIN
MENUITEM "Migrated Accounts Report", ID_TASK_MIGRATEDACCOUNTSREPORT
MENUITEM "Migrated Computers Report", ID_TASK_MIGRATEDCOMPUTERSREPORT
MENUITEM "Expired Computers Report", ID_TASK_EXPIREDCOMPUTERSREPORT
MENUITEM "Import Data...", ID_TASK_IMPORTDATA
END
POPUP "VIEW"
BEGIN
MENUITEM SEPARATOR
END
END
IDR_PRUNE_GRAFT_MENU MENU DISCARDABLE
BEGIN
POPUP "TOP"
BEGIN
MENUITEM "Add Domain...", ID_TOP_ADDDOMAIN
END
POPUP "NEW"
BEGIN
MENUITEM SEPARATOR
END
POPUP "TASK"
BEGIN
MENUITEM SEPARATOR
END
POPUP "VIEW"
BEGIN
MENUITEM SEPARATOR
END
END
/////////////////////////////////////////////////////////////////////////////
//
// HTML
//
REPT.HTM HTML DISCARDABLE "rept.htm"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_DOMAIN DIALOG DISCARDABLE 0, 0, 186, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Select Domain"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Domain:",IDC_STATIC,7,7,57,10
EDITTEXT IDC_DOMAIN,7,18,107,13,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_DOMAIN, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 88
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_PROJNAME "DomMigSI"
IDS_DOMMIGRATOR_DESC "Active Directory Migration Tool simplifies the process of moving users, groups and computers from one Active Directory domain to another, or migrating from NT4 domains to Active Directory."
IDS_DOMMIGRATOR_PROVIDER "Microsoft Corporation"
IDS_DOMMIGRATOR_VERSION "ADMT Version 2.00 (%s)"
IDS_WizardAlreadyRunning "A migration wizard is already running. "
IDS_Title "Active Directory Migration Tool"
IDS_HELPFILE "DomainMig.chm"
IDS_FailedActions "There are %1!ld! failed distributed actions. Would you like to retry any of them now?"
IDS_FAILED "Failed."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NAME "Name"
IDS_TYPE "Type"
IDS_DESC "Description"
IDS_HelpFileIntroTopic "DomainMig.chm::DomMigIntro.htm"
IDS_NoDatabase "The protar.mdb database is missing or corrupt. "
IDS_ERR_RUN_WIZARD "Unable to run wizard."
IDS_ERR_CHECK_FAILED_ACTIONS "Unable to check for failed actions."
IDS_NOSRCSIDCLM_TITLE "Column Creation Failed!"
IDS_ERR_NOSRCSIDCLM_MSG "The source domain Sid column could not be added to the protar.mdb database's Migrated Objects table due to the following error:\n\n%s\n\nADMT cannot continue."
IDS_QUERYCLM_TITLE "Column Query Failed!"
IDS_ERR_QUERYCLM_MSG "The existence of the source domain Sid column in the protar.mdb database's Migrated Objects table could not be verified due to the following error:\n\n%s\n\nADMT cannot continue."
IDS_ERR_LOCALADMINCHECK_MSG "You have to be a member of Local Administrators group in order to run ADMT. (error code = %d)"
IDS_ERR_UPDATEREGISTRY_MSG "Failed to update the ADMT-related registry. (error code = %d)"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "DomMigSI.tlb"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED