Sweden-Number/documentation
Alexandre Julliard fe08568a0d Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
..
status - Make registry usage a little more correct and modern 2000-03-12 20:18:33 +00:00
.cvsignore Authors: James Juran <jrj120@psu.edu>, Andreas Mohr <cipam895@cip1.ind.uni-stuttgart.de> 1999-07-18 15:47:22 +00:00
ChangeLog.OLD Moved old ChangeLog to documentation/ChangeLog.OLD. 1998-10-18 16:34:50 +00:00
Makefile.in Fixed typo. 1999-10-23 20:19:15 +00:00
README.documentation Miscellaneous small fixes. 1998-11-22 16:56:44 +00:00
accelerators Fixed accelerator handling. ACCEL16 used internal, ACCEL32 for Win32 1999-01-22 17:09:46 +00:00
aspi SendASPI32Command32 has to be __cdecl. 1999-01-03 12:30:02 +00:00
bugreports Removed +snoop from documentation/bugreports. 1999-05-02 09:09:48 +00:00
cdrom-labels - support for reading labels and serial nums from device 2000-01-29 21:11:47 +00:00
common_controls Added builtin toolbar bitmaps. 1999-07-31 13:10:46 +00:00
config Added new documentation for the configuration file. 1999-04-25 10:55:22 +00:00
console Add information about the new wine.conf options. 1999-02-20 16:41:29 +00:00
debug-msgs Fixed typos. 1999-01-23 14:02:08 +00:00
debugging MessageBox32A -> MessageBoxA 1999-03-22 12:36:34 +00:00
distributors Added sample wine.conf. 1999-07-04 15:50:08 +00:00
dlls Added explanation of the current DLL support. 1999-07-28 16:37:19 +00:00
filehandles Release 980913 1998-09-13 16:32:00 +00:00
fonts Include in the AddFontResourceA/W fixme message a pointer to the fonts 2000-03-07 12:24:26 +00:00
gui Window style updates. 1999-07-03 12:06:26 +00:00
how-to-port Group commit for recovery after disk crash. 1999-01-17 16:55:11 +00:00
internal-dll Fixed typos. 1999-01-24 09:47:29 +00:00
internals Release 980215 1998-02-15 19:40:49 +00:00
ioport-trace-hints Fixed typos. 1999-01-23 14:02:08 +00:00
keyboard Clarified a few points. 1999-04-15 16:44:34 +00:00
languages Adapted to the new dll resource handling by Bertho Stultiens. 1999-05-29 10:50:39 +00:00
linux-fat-permissions Added a document that describes configuring FAT filesystem permissions 1999-12-25 22:50:21 +00:00
no-windows - add some documentation items 2000-01-29 21:12:58 +00:00
printing Move PostScript driver docs to documentation/ . Add instructions on 1999-11-13 20:55:31 +00:00
programs Touch to test auto mailing of commits. 1998-10-11 23:14:04 +00:00
psdriver Fix docs to reflect change to .winerc processing. 2000-03-04 19:16:34 +00:00
psdrv.reg Move PostScript driver docs to documentation/ . Add instructions on 1999-11-13 20:55:31 +00:00
resources Added .rc file support for Win16 NE modules. 1999-12-06 01:20:00 +00:00
shell32 Updated. 2000-02-26 18:37:11 +00:00
ttfserver Release 980601 1998-06-01 10:44:35 +00:00
win95look Add some information to the man page and README file. 1999-01-01 18:45:52 +00:00
wine.conf.man.in - fixes, loading of settings per user 2000-01-30 03:03:23 +00:00
wine.man.in Moved command-line option handling out of the X11 driver. 2000-03-18 21:56:10 +00:00
wine.texinfo Typo correction. 1999-09-27 13:32:26 +00:00
wine_os2 Fixed typos. 1999-01-23 14:02:08 +00:00
winsock Release 970525 1997-05-25 13:58:18 +00:00

README.documentation

			Wine Documentation README


Wine Man Page

  The man page for Wine is in this directory. It is installed by 'make
install'.

Wine Reference Manual

  Texinfo source for preliminary comprehensive documentation is in
this directory.  Use 'make info' in this directory to generate the GNU
info version, 'make dvi' to generate the DVI version (hit 'r' to
ignore errors), or 'make all' for both. It is not installed by
default.

Wine API documentation

  Do a 'make manpages' in the Wine toplevel directory to generate the
API manpages from the Wine source, or 'make man' in any source
subdirectory to generate manpages from only that directory. Only
functions mentioned in Wine spec files will be documented; the
specific .spec files checked are set by the MANSPECS variable in
Make.rules. The manpages will be generated into
[documentation/man3w]. For HTML formatted manpages, do 'make
htmlpages' from the toplevel, or 'make html' from any
subdirectory. HTML formatted pages are generated into
[documentation/html]. You will need c2man as modified for Wine,
available as source or binary from ftp://ftp.winehq.com/pub/wine/.
The man pages are not installed by 'make install'.

Other READMEs

  Other informational files are in this directory as well as scattered
through the source tree.

Other resources:

  Usenet: news:comp.emulators.ms-windows.wine
  WWW:    http://www.winehq.com/


Writing Wine API Documentation

To improve the documentation of the Wine API, just add comments to the
existing source. For example,

/******************************************************************
 *         CopyMetaFile32A   (GDI32.23)
 *
 *  Copies the metafile corresponding to hSrcMetaFile to either
 *  a disk file, if a filename is given, or to a new memory based
 *  metafile, if lpFileName is NULL.
 *
 * RETURNS
 *
 *  Handle to metafile copy on success, NULL on failure.
 *
 * BUGS
 *
 *  Copying to disk returns NULL even if successful.
 */
HMETAFILE32 WINAPI CopyMetaFile32A(
		   HMETAFILE32 hSrcMetaFile, /* handle of metafile to copy */
		   LPCSTR lpFilename /* filename if copying to a file */
) { ... }

becomes, after processing with c2man and nroff -man,

CopyMetaFileA(3w)                               CopyMetaFileA(3w)


NAME
       CopyMetaFileA - CopyMetaFile32A   (GDI32.23)

SYNOPSIS
       HMETAFILE32 CopyMetaFileA
       (
            HMETAFILE32 hSrcMetaFile,
            LPCSTR lpFilename
       );

PARAMETERS
       HMETAFILE32 hSrcMetaFile
              Handle of metafile to copy.

       LPCSTR lpFilename
              Filename if copying to a file.

DESCRIPTION
       Copies  the  metafile  corresponding  to  hSrcMetaFile  to
       either a disk file, if a filename is given, or  to  a  new
       memory based metafile, if lpFileName is NULL.

RETURNS
       Handle to metafile copy on success, NULL on failure.

BUGS
       Copying to disk returns NULL even if successful.

SEE ALSO
       GetMetaFileA(3w),   GetMetaFileW(3w),   CopyMetaFileW(3w),
       PlayMetaFile(3w),  SetMetaFileBitsEx(3w),  GetMetaFileBit-
       sEx(3w)