Document Conventions

The following typographical conventions are used throughout this book:

Convention Meaning

Bold text Indicates a word that is a function name, data type, or other fixed part of the Microsoft Windows and OLE Application Programming Interface. For example, OleDraw is an OLE-specific function and OLEOBJECTVTBL is an OLE-specific data structure. These words must always be typed exactly as they are printed.
Italic text Indicates a word that is a placeholder or variable. For example, ClassName would be a placeholder for any OLE object class name. Function parameters in API reference material will be in italic to indicate that any variable name can be used.
CAPITALS Indicates MS-DOS filenames and paths as well as constants. For example, C:\WINDOWS\SYSTEM\OLECLI.DLL is an MS-DOS path and filename. WM_DESTROY is a contant.
monospace Indicates source code and syntax spacing. For example:
 

typedef struct _APPSTREAM

{

OLESTREAM olestream;

int fh;

} APPSTREAM;


Note The code examples in this book follow the variable-naming convention known as Hungarian notation, invented by programmer Charles Simonyi. Variables are prefixed with lower-case letters indicating their data type. For example, lpszNewDocname would be a long pointer to a zero-terminated string named NewDocname. See Programming Windows by Charles Petzold for more information about Hungarian notation.