blob: 87af6909ed93bf4c348041e81c37b9d62a3273d2 [file] [log] [blame]
Alexandre Julliard44ed71f1997-12-21 19:17:50 +00001
2 Wine Documentation README
3
4
5Wine Man Page
6
Douglas Ridgway692389d1998-11-22 16:56:44 +00007 The man page for Wine is in this directory. It is installed by 'make
8install'.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +00009
10Wine Reference Manual
11
12 Texinfo source for preliminary comprehensive documentation is in
13this directory. Use 'make info' in this directory to generate the GNU
14info version, 'make dvi' to generate the DVI version (hit 'r' to
Alexandre Julliard829fe321998-07-26 14:27:39 +000015ignore errors), or 'make all' for both. It is not installed by
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000016default.
17
18Wine API documentation
19
20 Do a 'make manpages' in the Wine toplevel directory to generate the
21API manpages from the Wine source, or 'make man' in any source
Alexandre Julliard829fe321998-07-26 14:27:39 +000022subdirectory to generate manpages from only that directory. Only
23functions mentioned in Wine spec files will be documented; the
24specific .spec files checked are set by the MANSPECS variable in
25Make.rules. The manpages will be generated into
26[documentation/man3w]. For HTML formatted manpages, do 'make
27htmlpages' from the toplevel, or 'make html' from any
28subdirectory. HTML formatted pages are generated into
29[documentation/html]. You will need c2man as modified for Wine,
30available as source or binary from ftp://ftp.winehq.com/pub/wine/.
31The man pages are not installed by 'make install'.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000032
33Other READMEs
34
35 Other informational files are in this directory as well as scattered
36through the source tree.
37
38Other resources:
39
40 Usenet: news:comp.emulators.ms-windows.wine
41 WWW: http://www.winehq.com/
42
43
44Writing Wine API Documentation
45
46To improve the documentation of the Wine API, just add comments to the
47existing source. For example,
48
49/******************************************************************
Alexandre Julliard829fe321998-07-26 14:27:39 +000050 * CopyMetaFile32A (GDI32.23)
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000051 *
Alexandre Julliard829fe321998-07-26 14:27:39 +000052 * Copies the metafile corresponding to hSrcMetaFile to either
53 * a disk file, if a filename is given, or to a new memory based
54 * metafile, if lpFileName is NULL.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000055 *
Alexandre Julliard829fe321998-07-26 14:27:39 +000056 * RETURNS
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000057 *
Alexandre Julliard829fe321998-07-26 14:27:39 +000058 * Handle to metafile copy on success, NULL on failure.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000059 *
Alexandre Julliard829fe321998-07-26 14:27:39 +000060 * BUGS
61 *
62 * Copying to disk returns NULL even if successful.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000063 */
Alexandre Julliard829fe321998-07-26 14:27:39 +000064HMETAFILE32 WINAPI CopyMetaFile32A(
65 HMETAFILE32 hSrcMetaFile, /* handle of metafile to copy */
66 LPCSTR lpFilename /* filename if copying to a file */
67) { ... }
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000068
69becomes, after processing with c2man and nroff -man,
70
Alexandre Julliard829fe321998-07-26 14:27:39 +000071CopyMetaFileA(3w) CopyMetaFileA(3w)
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000072
73
74NAME
Alexandre Julliard829fe321998-07-26 14:27:39 +000075 CopyMetaFileA - CopyMetaFile32A (GDI32.23)
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000076
77SYNOPSIS
Alexandre Julliard829fe321998-07-26 14:27:39 +000078 HMETAFILE32 CopyMetaFileA
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000079 (
Alexandre Julliard829fe321998-07-26 14:27:39 +000080 HMETAFILE32 hSrcMetaFile,
81 LPCSTR lpFilename
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000082 );
83
84PARAMETERS
Alexandre Julliard829fe321998-07-26 14:27:39 +000085 HMETAFILE32 hSrcMetaFile
86 Handle of metafile to copy.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000087
Alexandre Julliard829fe321998-07-26 14:27:39 +000088 LPCSTR lpFilename
89 Filename if copying to a file.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000090
91DESCRIPTION
Alexandre Julliard829fe321998-07-26 14:27:39 +000092 Copies the metafile corresponding to hSrcMetaFile to
93 either a disk file, if a filename is given, or to a new
94 memory based metafile, if lpFileName is NULL.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000095
96RETURNS
Alexandre Julliard829fe321998-07-26 14:27:39 +000097 Handle to metafile copy on success, NULL on failure.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000098
Alexandre Julliard829fe321998-07-26 14:27:39 +000099BUGS
100 Copying to disk returns NULL even if successful.
Alexandre Julliard44ed71f1997-12-21 19:17:50 +0000101
Alexandre Julliard829fe321998-07-26 14:27:39 +0000102SEE ALSO
103 GetMetaFileA(3w), GetMetaFileW(3w), CopyMetaFileW(3w),
104 PlayMetaFile(3w), SetMetaFileBitsEx(3w), GetMetaFileBit-
105 sEx(3w)