Click here to Skip to main content
15,893,722 members
Articles / Desktop Programming / MFC

Creating Microsoft SAPI Compliant Application(s)

Rate me:
Please Sign up or sign in to vote.
4.53/5 (13 votes)
24 Feb 20045 min read 75.5K   1.6K   32  
This article will explain how to create a Microsoft SAPI compliant Application or Integrating a TTS with SAPI.
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Mon Feb 09 11:23:57 2004
 */
/* Compiler settings for E:\SAPIComp\SAPIComp.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __SAPIComp_h__
#define __SAPIComp_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __SAPIObj_FWD_DEFINED__
#define __SAPIObj_FWD_DEFINED__

#ifdef __cplusplus
typedef class SAPIObj SAPIObj;
#else
typedef struct SAPIObj SAPIObj;
#endif /* __cplusplus */

#endif 	/* __SAPIObj_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "sapiddk.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 


#ifndef __SAPICOMPLib_LIBRARY_DEFINED__
#define __SAPICOMPLib_LIBRARY_DEFINED__

/* library SAPICOMPLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_SAPICOMPLib;

EXTERN_C const CLSID CLSID_SAPIObj;

#ifdef __cplusplus

class DECLSPEC_UUID("779D02E0-5AC3-11D8-832D-5254AB2226C5")
SAPIObj;
#endif
#endif /* __SAPICOMPLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect
India India
A programmer by heart since 1998. Written code in C++, Java, JavaScript, Python & Ruby, Worked on Stack Development to Web Development. Data Specialist with SQL and NoSQL DBs

Comments and Discussions