Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 1 | |
| 2 | Wine Documentation README |
| 3 | |
| 4 | |
| 5 | Wine Man Page |
| 6 | |
Douglas Ridgway | 692389d | 1998-11-22 16:56:44 +0000 | [diff] [blame] | 7 | The man page for Wine is in this directory. It is installed by 'make |
| 8 | install'. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 9 | |
| 10 | Wine Reference Manual |
| 11 | |
| 12 | Texinfo source for preliminary comprehensive documentation is in |
| 13 | this directory. Use 'make info' in this directory to generate the GNU |
| 14 | info version, 'make dvi' to generate the DVI version (hit 'r' to |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 15 | ignore errors), or 'make all' for both. It is not installed by |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 16 | default. |
| 17 | |
| 18 | Wine API documentation |
| 19 | |
| 20 | Do a 'make manpages' in the Wine toplevel directory to generate the |
| 21 | API manpages from the Wine source, or 'make man' in any source |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 22 | subdirectory to generate manpages from only that directory. Only |
| 23 | functions mentioned in Wine spec files will be documented; the |
| 24 | specific .spec files checked are set by the MANSPECS variable in |
| 25 | Make.rules. The manpages will be generated into |
| 26 | [documentation/man3w]. For HTML formatted manpages, do 'make |
| 27 | htmlpages' from the toplevel, or 'make html' from any |
| 28 | subdirectory. HTML formatted pages are generated into |
| 29 | [documentation/html]. You will need c2man as modified for Wine, |
| 30 | available as source or binary from ftp://ftp.winehq.com/pub/wine/. |
| 31 | The man pages are not installed by 'make install'. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 32 | |
| 33 | Other READMEs |
| 34 | |
| 35 | Other informational files are in this directory as well as scattered |
| 36 | through the source tree. |
| 37 | |
| 38 | Other resources: |
| 39 | |
| 40 | Usenet: news:comp.emulators.ms-windows.wine |
| 41 | WWW: http://www.winehq.com/ |
| 42 | |
| 43 | |
| 44 | Writing Wine API Documentation |
| 45 | |
| 46 | To improve the documentation of the Wine API, just add comments to the |
| 47 | existing source. For example, |
| 48 | |
| 49 | /****************************************************************** |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 50 | * CopyMetaFile32A (GDI32.23) |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 51 | * |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 52 | * 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 Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 55 | * |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 56 | * RETURNS |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 57 | * |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 58 | * Handle to metafile copy on success, NULL on failure. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 59 | * |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 60 | * BUGS |
| 61 | * |
| 62 | * Copying to disk returns NULL even if successful. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 63 | */ |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 64 | HMETAFILE32 WINAPI CopyMetaFile32A( |
| 65 | HMETAFILE32 hSrcMetaFile, /* handle of metafile to copy */ |
| 66 | LPCSTR lpFilename /* filename if copying to a file */ |
| 67 | ) { ... } |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 68 | |
| 69 | becomes, after processing with c2man and nroff -man, |
| 70 | |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 71 | CopyMetaFileA(3w) CopyMetaFileA(3w) |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 72 | |
| 73 | |
| 74 | NAME |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 75 | CopyMetaFileA - CopyMetaFile32A (GDI32.23) |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 76 | |
| 77 | SYNOPSIS |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 78 | HMETAFILE32 CopyMetaFileA |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 79 | ( |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 80 | HMETAFILE32 hSrcMetaFile, |
| 81 | LPCSTR lpFilename |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 82 | ); |
| 83 | |
| 84 | PARAMETERS |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 85 | HMETAFILE32 hSrcMetaFile |
| 86 | Handle of metafile to copy. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 87 | |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 88 | LPCSTR lpFilename |
| 89 | Filename if copying to a file. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 90 | |
| 91 | DESCRIPTION |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 92 | 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 Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 95 | |
| 96 | RETURNS |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 97 | Handle to metafile copy on success, NULL on failure. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 98 | |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 99 | BUGS |
| 100 | Copying to disk returns NULL even if successful. |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 101 | |
Alexandre Julliard | 829fe32 | 1998-07-26 14:27:39 +0000 | [diff] [blame] | 102 | SEE ALSO |
| 103 | GetMetaFileA(3w), GetMetaFileW(3w), CopyMetaFileW(3w), |
| 104 | PlayMetaFile(3w), SetMetaFileBitsEx(3w), GetMetaFileBit- |
| 105 | sEx(3w) |