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.
 
 
 
 
 
 
Shaswata Das 5c6fe3db62
Create README.md
4 years ago
..
messages/usa commiting as it is 4 years ago
8514btns.bmp commiting as it is 4 years ago
8514mrks.bmp commiting as it is 4 years ago
aaa.c commiting as it is 4 years ago
addprm.c commiting as it is 4 years ago
bitmaps.h commiting as it is 4 years ago
cache.c commiting as it is 4 years ago
center.bms commiting as it is 4 years ago
cgabtns.bmp commiting as it is 4 years ago
cgamarks.bmp commiting as it is 4 years ago
ch.h commiting as it is 4 years ago
chlook.c commiting as it is 4 years ago
chngwin.c commiting as it is 4 years ago
clipbord.c commiting as it is 4 years ago
clipbrd2.c commiting as it is 4 years ago
clipdisp.c commiting as it is 4 years ago
cmacros2.inc commiting as it is 4 years ago
cmacros3.inc commiting as it is 4 years ago
cmd.c commiting as it is 4 years ago
cmddefs.h commiting as it is 4 years ago
code.h commiting as it is 4 years ago
commdlg.c commiting as it is 4 years ago
createww.c commiting as it is 4 years ago
curskeys.c commiting as it is 4 years ago
d_disp.c commiting as it is 4 years ago
d_form1.c commiting as it is 4 years ago
d_selec2.c commiting as it is 4 years ago
dbcs.h commiting as it is 4 years ago
debug.c commiting as it is 4 years ago
debug.h commiting as it is 4 years ago
diaalert.c commiting as it is 4 years ago
diachgpr.c commiting as it is 4 years ago
diadiv.c commiting as it is 4 years ago
diapara.c commiting as it is 4 years ago
diaprint.c commiting as it is 4 years ago
diarepag.c commiting as it is 4 years ago
diasubs.c commiting as it is 4 years ago
disp.c commiting as it is 4 years ago
dispdefs.h commiting as it is 4 years ago
dlgdefs.h commiting as it is 4 years ago
doc.c commiting as it is 4 years ago
docdefs.h commiting as it is 4 years ago
doprm.c commiting as it is 4 years ago
doslib.asm commiting as it is 4 years ago
doslib.h commiting as it is 4 years ago
double.bms commiting as it is 4 years ago
dtabbtn.bms commiting as it is 4 years ago
dtabmark.bms commiting as it is 4 years ago
edit.c commiting as it is 4 years ago
editdefs.h commiting as it is 4 years ago
editftn.c commiting as it is 4 years ago
editpgtb.c commiting as it is 4 years ago
editsect.c commiting as it is 4 years ago
edm.edm commiting as it is 4 years ago
egabtns.bmp commiting as it is 4 years ago
egamarks.bmp commiting as it is 4 years ago
fetch.c commiting as it is 4 years ago
ffdefs.h commiting as it is 4 years ago
file.c commiting as it is 4 years ago
filedefs.h commiting as it is 4 years ago
fileres.c commiting as it is 4 years ago
filespec.wri commiting as it is 4 years ago
fileutil.c commiting as it is 4 years ago
fkpdefs.h commiting as it is 4 years ago
fmtdefs.h commiting as it is 4 years ago
fontdefs.h commiting as it is 4 years ago
fontdlg.c commiting as it is 4 years ago
fontenum.c commiting as it is 4 years ago
fontutil.c commiting as it is 4 years ago
form1.c commiting as it is 4 years ago
format.asm commiting as it is 4 years ago
format2.c commiting as it is 4 years ago
globdefs.h commiting as it is 4 years ago
globdefs.itl commiting as it is 4 years ago
globdefs.knj commiting as it is 4 years ago
heapdata.h commiting as it is 4 years ago
heapdefs.h commiting as it is 4 years ago
heapinit.c commiting as it is 4 years ago
heapmain.c commiting as it is 4 years ago
heaprare.c commiting as it is 4 years ago
help.c commiting as it is 4 years ago
indent.bms commiting as it is 4 years ago
initmmw.c commiting as it is 4 years ago
initwin.c commiting as it is 4 years ago
insert.c commiting as it is 4 years ago
insert.tmp commiting as it is 4 years ago
insert2.c commiting as it is 4 years ago
insertco.c commiting as it is 4 years ago
jumppage.c commiting as it is 4 years ago
just.bms commiting as it is 4 years ago
kanji.h commiting as it is 4 years ago
kmake.bat commiting as it is 4 years ago
kmakend.bat commiting as it is 4 years ago
left.bms commiting as it is 4 years ago
lib.asm commiting as it is 4 years ago
lmargin.bms commiting as it is 4 years ago
loadfnt2.c commiting as it is 4 years ago
loadfont.c commiting as it is 4 years ago
looks.h commiting as it is 4 years ago
ltabbtn.bms commiting as it is 4 years ago
ltabmark.bms commiting as it is 4 years ago
machdefs.h commiting as it is 4 years ago
macro.h commiting as it is 4 years ago
mainloop.c commiting as it is 4 years ago
makefile commiting as it is 4 years ago
mdoc.c commiting as it is 4 years ago
menu.c commiting as it is 4 years ago
menudefs.h commiting as it is 4 years ago
mergedef.h commiting as it is 4 years ago
mglobals.c commiting as it is 4 years ago
mlink.sed commiting as it is 4 years ago
mmw.c commiting as it is 4 years ago
mouse.c commiting as it is 4 years ago
mouse.h commiting as it is 4 years ago
msseqds.asm commiting as it is 4 years ago
mw.h commiting as it is 4 years ago
mwhires.cur commiting as it is 4 years ago
mwlores.cur commiting as it is 4 years ago
obj.c commiting as it is 4 years ago
obj.h commiting as it is 4 years ago
obj2.c commiting as it is 4 years ago
obj3.c commiting as it is 4 years ago
objmini.asm commiting as it is 4 years ago
objpsp.c commiting as it is 4 years ago
objreg.c commiting as it is 4 years ago
objreg.h commiting as it is 4 years ago
open.c commiting as it is 4 years ago
pageinfo.c commiting as it is 4 years ago
pictdrag.c commiting as it is 4 years ago
picture.c commiting as it is 4 years ago
picture2.c commiting as it is 4 years ago
pmscur.cur commiting as it is 4 years ago
preload.h commiting as it is 4 years ago
print.c commiting as it is 4 years ago
print2.c commiting as it is 4 years ago
print3.c commiting as it is 4 years ago
printdef.h commiting as it is 4 years ago
printdlg.c commiting as it is 4 years ago
prmdefs.h commiting as it is 4 years ago
propdefs.h commiting as it is 4 years ago
quit.c commiting as it is 4 years ago
rare.c commiting as it is 4 years ago
readme.txt commiting as it is 4 years ago
right.bms commiting as it is 4 years ago
rmargin.bms commiting as it is 4 years ago
ruler.c commiting as it is 4 years ago
ruler2.c commiting as it is 4 years ago
ruler3.c commiting as it is 4 years ago
rulerdef.h commiting as it is 4 years ago
running.c commiting as it is 4 years ago
screen.c commiting as it is 4 years ago
scrnchng.c commiting as it is 4 years ago
scrndefs.h commiting as it is 4 years ago
scrollhz.c commiting as it is 4 years ago
scrollvt.c commiting as it is 4 years ago
search.c commiting as it is 4 years ago
select.c commiting as it is 4 years ago
select2.c commiting as it is 4 years ago
selectsp.c commiting as it is 4 years ago
single.bms commiting as it is 4 years ago
sp15.bms commiting as it is 4 years ago
state.rst commiting as it is 4 years ago
stcdefs.h commiting as it is 4 years ago
str.h commiting as it is 4 years ago
tags commiting as it is 4 years ago
toolbox.h commiting as it is 4 years ago
trans2.c commiting as it is 4 years ago
trans3.c commiting as it is 4 years ago
trans4.c commiting as it is 4 years ago
transbuf.c commiting as it is 4 years ago
transfer.c commiting as it is 4 years ago
txb.h commiting as it is 4 years ago
undo.c commiting as it is 4 years ago
util.c commiting as it is 4 years ago
util2.c commiting as it is 4 years ago
vgabtns.bmp commiting as it is 4 years ago
vgamarks.bmp commiting as it is 4 years ago
winddefs.h commiting as it is 4 years ago
write.def commiting as it is 4 years ago
write.ico commiting as it is 4 years ago
write.itl commiting as it is 4 years ago
write.knj commiting as it is 4 years ago
write.sed commiting as it is 4 years ago
wwactde.c commiting as it is 4 years ago
wwdefs.h commiting as it is 4 years ago

readme.txt

/************************************************************/

/* Windows Write, Copyright 1985-1990 Microsoft Corporation */
/************************************************************/

** 21-January-1988

MS-WRITE for version 2.0 of Windows is a weird bird in that it
cannot be compiled with standard tools (ie: MASM 5.0 etc.). You will
need to set up a separate environment from which to make it using the
tools in the \WRITE\TOOLS subdirectory. We are sorry for this inconvenience
and will attempt to remedy this in future versions of MS-WINDOWS.

Sincerely,

OEM Support Group

** 27-February-1989
pault

I am trying to remove the above restriction. The Win "DEV" SLM project is
being used to build MS-WRITE for Windows 3.0, currently without problems.
Make sure autoexec references are made/added as follows:
set path=\dev;\dev\tools
set include=\dev\inc
set lib=\dev\lib

WRITE is the makefile for this project. DO NOT USE MAKEFILE -- I do not
know where it came from or why it's here, and of course we may learn that
things are not currently as rosy as we believe, but this is how I *THINK*
the product has been made in the past...

MAKE WRITE MAKE "DEBUGDEF=-DDEBUG" "DFLAGS=/Zd" WRITE
builds the standard builds a debugging version
release version


** 28-March-1989
pault

The above procedure was not generating quite the same WRITE.EXE as we've
previously had (Win 2.x). In talking with anyone who's ever been involved
at all, this is the information I have learned:

1. Nobody wants this product or claims responsibility for it.
2. It has been a nightmare for everyone who has worked on, with,
or around it.
3. The international version was incorporated at some time during
2.x and is now "built in".
4. There was at one time an online help system designed which was
never included in a shipped version.
5. The 6 or 8 batch files, .libs, and makefiles "makefile" and
"wrtmake" are for the 2.x version; since we have since grown up
I am removing them...
6. The K*.* files (or *.K* files) apply to the Kanji make process and
they have N-O-T been updated yet, but are being left in the project
(i.e. they must be modified or add to the "write" makefile). Also
see the file EDM.EDM (hey, file naming is our specialty here at MS).

I have made mods to the project and "write" makefile to incorporate the
subtle changes from 2.x. Variations of the make process are/will be
documented inside the makefile.


** 8-June-1989
pault

In order to ease localization of this product, all string-related info
in GLOBDEFS.H should really be moved to WRITE.RC because that's where
it belongs and it'll also make things a lot cleaner. [True for Kanji?]


** 31-August-1989
pault

Due to major changes in Write.rc and the split into Write.dlg, whoever
takes on the task of localization to Intl or Kanji should be sure to
start over with the new Write.rc and Write.dlg.


** 18-October-1989
pault

I've just made a major revision with regard to font handling in Write.
The first one was to make sure that the endmark is always displayed in
the system font. The Kanji version already ensured this so I grouped
all the code concerning this under the define 'SYSENDMARK', and enabled
it in the Z version.

The second one was to revamp font enumeration... (under 'NEWFONTENUM')

Old method: Call EnumFonts to get a list of fonts available, and "filter
out" fonts which did not match our desired aspect ratio (based
on the overall display dimensions). In addition, any fonts
which were not the ANSI character set (i.e. the tmCharSet or
lfCharSet fields in the TEXTMETRICS and LOGFONT structures,
respectively) were "swallowed". A specific byproduct of this
was that screen fonts such as Modern, Script, Symbol, etc.
could not be used in Write.

New method: Call EnumFonts to get a list of fonts available. No filtering-
out is done. The major problem here became an issue with the
Write file format: the font name and font family are stored in
the document but naturally not the appropriate character set
value (since only ANSI had been previously allowed). So now
when we read a new document in, we enumerate all the fonts and
then for each font in the doc we try to match up the correct
character set value.

This slows things down ever-so-slightly and we also have the
possibility of getting confused if someone names a font of one
character set the same as one of a different character set, but
there wasn't much alternative -- it was either make this kind
of guess or revise the file format which would have created a
lot more problems at this point.


** 23-October-1989

FernandD has worked on the localization issue mentioned above and checked
in changes for Rel 1.46


** 24-October-1989
pault

One change involved in the above NEWFONTENUM was to use FORM1.C instead
of the (presumably) faster FORMAT.ASM. So this sparks the idea to keep
a list of some performance ideas for future use...

done? task
----- ----
1) handcode critical routines (including the use format.asm
instead of form1.c)
2) make use of register vars
3) chipa suggests breaking up really large segments, and eliminating
very small ones
X 4) remove inefficient lockdown of dialog procs, etc. not sure
why this is currently done but it forces a large amount of
code to be fixed at write startup, and this hampers the general
idea of movable segments in a winapp!
5) remove use of C run-time libs

** 25-October-1989

It has just been decided to remove support for ExtDeviceMode from Write
(primarily because none of the other apps had it!) This means that when
you change Printer.Setup inside Write, that affects the global Windows
printer settings (rather than just those for the current Write session).