/*	IVISREG.HPP - Helper functions for starting Visio
 *	Copyright (C) 1994 Shapeware Corporation.  All rights reserved.
 */
 

#ifndef _IVISREG_HPP
#define _IVISREG_HPP

/*
 *	Result codes for vaoGetVisio.
 */
 
#define VAO_ERROR			0
#define VAO_SUCCESS			1
#define VAO_GET				2
#define VAO_CREATE			3
#define VAO_BAD_VERSION		4
#define VAO_NOT_RUNNING		5
#define VAO_NOT_INSTALLED	6


/*
 *	Function Prototypes
 */
 
short vaoGetObject(
	LPVISIOAPPLICATION FAR *);				// Visio App Interface
	
short vaoGetVisio(							// VAO_ result code
	BOOL,									// TRUE => Get Active
	BOOL,									// TRUE => Create New
	LPVISIOAPPLICATION FAR *);				// Application Interface

HRESULT vaoGetLastError();

#endif /* _IVISREG_HPP */
