home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
include
/
rndnot.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-25
|
7KB
|
241 lines
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.03.0110 */
/* at Wed Sep 03 19:09:22 1997
*/
/* Compiler settings for rndnot.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: none
*/
//@@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 __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __rndnot_h__
#define __rndnot_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __ITNotification_FWD_DEFINED__
#define __ITNotification_FWD_DEFINED__
typedef interface ITNotification ITNotification;
#endif /* __ITNotification_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/****************************************
* Generated header for interface: __MIDL_itf_rndnot_0000
* at Wed Sep 03 19:09:22 1997
* using MIDL 3.03.0110
****************************************/
/* [local] */
typedef
enum RND_NOTIFICATION_ID
{ NI_SUB_TYPE = 1,
NI_ORIGINATOR = 2,
NI_ANNOUNCEMENT_SCOPE = 3,
NI_ADVERTISING_SCOPE = 4,
NI_URL = 5,
NI_DESCRIPTION = 6,
NI_START_TIME = 7,
NI_STOP_TIME = 8,
NI_CONFERENCE_BLOB = 9
} RND_NOTIFICATION_ID;
typedef
enum RND_ADVERTISING_SCOPE
{ AS_LOCAL = 1,
AS_SITE = 2,
AS_REGION = 3,
AS_WORLD = 4
} RND_ADVERTISING_SCOPE;
extern RPC_IF_HANDLE __MIDL_itf_rndnot_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_rndnot_0000_v0_0_s_ifspec;
#ifndef __ITNotification_INTERFACE_DEFINED__
#define __ITNotification_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: ITNotification
* at Wed Sep 03 19:09:22 1997
* using MIDL 3.03.0110
****************************************/
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ITNotification;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("dda68522-b6a5-11d0-a489-00c04fd91ac0")
ITNotification : public IDispatch
{
public:
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ChangeNotification(
/* [in] */ RND_NOTIFICATION_ID NotificationId,
/* [in] */ VARIANT newVal) = 0;
};
#else /* C style interface */
typedef struct ITNotificationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITNotification __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITNotification __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITNotification __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ITNotification __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ITNotification __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ITNotification __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ITNotification __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeNotification )(
ITNotification __RPC_FAR * This,
/* [in] */ RND_NOTIFICATION_ID NotificationId,
/* [in] */ VARIANT newVal);
END_INTERFACE
} ITNotificationVtbl;
interface ITNotification
{
CONST_VTBL struct ITNotificationVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITNotification_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITNotification_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITNotification_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITNotification_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ITNotification_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ITNotification_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ITNotification_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define ITNotification_ChangeNotification(This,NotificationId,newVal) \
(This)->lpVtbl -> ChangeNotification(This,NotificationId,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITNotification_ChangeNotification_Proxy(
ITNotification __RPC_FAR * This,
/* [in] */ RND_NOTIFICATION_ID NotificationId,
/* [in] */ VARIANT newVal);
void __RPC_STUB ITNotification_ChangeNotification_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ITNotification_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif