4.4.5 Initializing the OLESERVERDOC Structure (optional)

The server application needs to allocate and initialize an OLESERVERDOC structure for each document it creates. This only needs to be done only when the /Embedding filename option is specified when starting the server (see preceding example). The OLESERVERDOC structure referenced by OLESERVERDOC points to functions that save and close documents, create new objects, and modify document characteristics like dimensions and color scheme.