You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
578 lines
19 KiB
578 lines
19 KiB
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 6.00.0361 */
|
|
/* Compiler settings for event.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run)
|
|
protocol : dce , ms_ext, c_ext, robust
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
VC __declspec() decoration level:
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
|
*/
|
|
//@@MIDL_FILE_HEADING( )
|
|
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
|
#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 __event_h__
|
|
#define __event_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IWMSEventNotificationPlugin_FWD_DEFINED__
|
|
#define __IWMSEventNotificationPlugin_FWD_DEFINED__
|
|
typedef interface IWMSEventNotificationPlugin IWMSEventNotificationPlugin;
|
|
#endif /* __IWMSEventNotificationPlugin_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWMSEventAuthorizationPlugin_FWD_DEFINED__
|
|
#define __IWMSEventAuthorizationPlugin_FWD_DEFINED__
|
|
typedef interface IWMSEventAuthorizationPlugin IWMSEventAuthorizationPlugin;
|
|
#endif /* __IWMSEventAuthorizationPlugin_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWMSEventAuthorizationCallback_FWD_DEFINED__
|
|
#define __IWMSEventAuthorizationCallback_FWD_DEFINED__
|
|
typedef interface IWMSEventAuthorizationCallback IWMSEventAuthorizationCallback;
|
|
#endif /* __IWMSEventAuthorizationCallback_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "oaidl.h"
|
|
#include "WMSContext.h"
|
|
#include "WMSEvent.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
void * __RPC_USER MIDL_user_allocate(size_t);
|
|
void __RPC_USER MIDL_user_free( void * );
|
|
|
|
/* interface __MIDL_itf_event_0000 */
|
|
/* [local] */
|
|
|
|
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows Media Technologies
|
|
// Copyright (C) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// Automatically generated by Midl from event.idl
|
|
//
|
|
// DO NOT EDIT THIS FILE.
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
EXTERN_GUID( IID_IWMSEventNotificationPlugin , 0xBE185FF0,0x6932,0x11d2,0x8B,0x3B,0x00,0x60,0x97,0xB0,0x12,0x06 );
|
|
EXTERN_GUID( IID_IWMSEventAuthorizationPlugin , 0xBE185FF1,0x6932,0x11d2,0x8B,0x3B,0x00,0x60,0x97,0xB0,0x12,0x06 );
|
|
EXTERN_GUID( IID_IWMSEventAuthorizationCallback , 0xBE185FF2,0x6932,0x11d2,0x8B,0x3B,0x00,0x60,0x97,0xB0,0x12,0x06 );
|
|
EXTERN_GUID( IID_IWMSCustomEventCallback , 0x8fbd4d04,0x970d,0x4d37,0xbb,0xc6,0x6f,0xbb,0xb7,0x4e,0xac,0x9d );
|
|
|
|
|
|
|
|
typedef /* [public] */
|
|
enum WMS_SERVER_EVENT_TYPE
|
|
{ WMS_EVENT_SERVER_ONLINE = 0,
|
|
WMS_EVENT_SERVER_OFFLINE = 1,
|
|
WMS_EVENT_SERVER_CRITICAL_ERROR = 2,
|
|
WMS_EVENT_SERVER_PROPERTY_CHANGE = 3,
|
|
WMS_EVENT_SERVER_ALLOW_CLIENTS_TO_CONNECT_CHANGE = 4,
|
|
WMS_EVENT_SERVER_PLUGIN_LOAD_TYPE_CHANGE = 5,
|
|
WMS_EVENT_SERVER_REVERSE_PROXY_MODE_CHANGE = 6,
|
|
WMS_EVENT_SERVER_DOWNLOAD_START = 7,
|
|
WMS_EVENT_SERVER_DOWNLOAD_COMPLETE = 8,
|
|
WMS_NUM_SERVER_EVENTS = 9
|
|
} WMS_SERVER_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_PUBLISHING_POINT_EVENT_TYPE
|
|
{ WMS_EVENT_PUBLISHING_POINT_ADD = 0,
|
|
WMS_EVENT_PUBLISHING_POINT_REMOVE = 1,
|
|
WMS_EVENT_PUBLISHING_POINT_ALLOW_CLIENTS_TO_CONNECT_CHANGE = 2,
|
|
WMS_EVENT_PUBLISHING_POINT_START_WITHOUT_DATA = 3,
|
|
WMS_EVENT_PUBLISHING_POINT_START = 4,
|
|
WMS_EVENT_PUBLISHING_POINT_STOP = 5,
|
|
WMS_EVENT_PUBLISHING_POINT_START_ARCHIVE = 6,
|
|
WMS_EVENT_PUBLISHING_POINT_STOP_ARCHIVE = 7,
|
|
WMS_EVENT_PUBLISHING_POINT_NAME_CHANGE = 8,
|
|
WMS_EVENT_PUBLISHING_POINT_PATH_CHANGE = 9,
|
|
WMS_EVENT_PUBLISHING_POINT_ALLOW_CLIENT_TO_START_AND_STOP_CHANGE = 10,
|
|
WMS_EVENT_PUBLISHING_POINT_PROPERTY_CHANGE = 11,
|
|
WMS_EVENT_PUBLISHING_POINT_WRAPPER_PATH_CHANGE = 12,
|
|
WMS_EVENT_PUBLISHING_POINT_ENABLE_WRAPPER_PATH_CHANGE = 13,
|
|
WMS_EVENT_PUBLISHING_POINT_ALLOW_CONTENT_CACHING_CHANGE = 14,
|
|
WMS_EVENT_PUBLISHING_POINT_STREAM_END = 15,
|
|
WMS_EVENT_PUBLISHING_POINT_CRITICAL_ERROR = 16,
|
|
WMS_EVENT_PUBLISHING_POINT_ENABLE_CLIENT_WILDCARD_DIRECTORY_ACCESS_CHANGE = 17,
|
|
WMS_EVENT_PUBLISHING_POINT_DISTRIBUTION_USER_NAME_CHANGE = 18,
|
|
WMS_EVENT_PUBLISHING_POINT_DISTRIBUTION_PASSWORD_CHANGE = 19,
|
|
WMS_EVENT_PUBLISHING_POINT_ALLOW_PLAYER_SIDE_DISK_CACHING_CHANGE = 20,
|
|
WMS_EVENT_PUBLISHING_POINT_BUFFER_SETTING_CHANGE = 21,
|
|
WMS_EVENT_PUBLISHING_POINT_ENABLE_FEC_CHANGE = 22,
|
|
WMS_NUM_PUBLISHINGPOINT_EVENTS = 23
|
|
} WMS_PUBLISHING_POINT_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_LIMIT_CHANGE_EVENT_TYPE
|
|
{ WMS_EVENT_LIMIT_CHANGE_CONNECTED_PLAYERS = 0,
|
|
WMS_EVENT_LIMIT_CHANGE_PLAYER_BANDWIDTH = 1,
|
|
WMS_EVENT_LIMIT_CHANGE_PLAYER_CONNECTION_BANDWIDTH = 2,
|
|
WMS_EVENT_LIMIT_CHANGE_DISTRIBUTION_CONNECTIONS = 3,
|
|
WMS_EVENT_LIMIT_CHANGE_PLAYER_INACTIVITY_TIMEOUT = 4,
|
|
WMS_EVENT_LIMIT_CHANGE_PLAYER_ACKNOWLEDGEMENT_TIMEOUT = 5,
|
|
WMS_EVENT_LIMIT_CHANGE_CONNECTION_RATE = 6,
|
|
WMS_EVENT_LIMIT_CHANGE_CPU_UTILIZATION_DURING_CONNECTION = 7,
|
|
WMS_EVENT_LIMIT_CHANGE_DISTRIBUTION_BANDWIDTH = 8,
|
|
WMS_EVENT_LIMIT_CHANGE_DISTRIBUTION_CONNECTION_BANDWIDTH = 9,
|
|
WMS_EVENT_LIMIT_CHANGE_DIAGNOSTIC_EVENTS = 10,
|
|
WMS_EVENT_LIMIT_CHANGE_PLAYER_CACHE_DELIVERY_RATE = 11,
|
|
WMS_EVENT_LIMIT_CHANGE_FEC_PACKET_SPAN = 12,
|
|
WMS_EVENT_LIMIT_CHANGE_INCOMING_BANDWIDTH = 13,
|
|
WMS_NUM_LIMIT_CHANGE_EVENTS = 14
|
|
} WMS_LIMIT_CHANGE_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_LIMIT_HIT_EVENT_TYPE
|
|
{ WMS_EVENT_LIMIT_HIT_CONNECTED_PLAYERS = 0,
|
|
WMS_EVENT_LIMIT_HIT_PLAYER_BANDWIDTH = 1,
|
|
WMS_EVENT_LIMIT_HIT_PLAYER_CONNECTION_BANDWIDTH = 2,
|
|
WMS_EVENT_LIMIT_HIT_DISTRIBUTION_CONNECTIONS = 3,
|
|
WMS_EVENT_LIMIT_HIT_PLAYER_INACTIVITY_TIMEOUT = 4,
|
|
WMS_EVENT_LIMIT_HIT_PLAYER_ACKNOWLEDGEMENT_TIMEOUT = 5,
|
|
WMS_EVENT_LIMIT_HIT_CONNECTION_RATE = 6,
|
|
WMS_EVENT_LIMIT_HIT_CPU_UTILIZATION_DURING_CONNECTION = 7,
|
|
WMS_EVENT_LIMIT_HIT_DISTRIBUTION_BANDWIDTH = 8,
|
|
WMS_EVENT_LIMIT_HIT_DISTRIBUTION_CONNECTION_BANDWIDTH = 9,
|
|
WMS_EVENT_LIMIT_HIT_INCOMING_BANDWIDTH = 10,
|
|
WMS_NUM_LIMIT_HIT_EVENTS = 11
|
|
} WMS_LIMIT_HIT_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_PLUGIN_EVENT_TYPE
|
|
{ WMS_EVENT_PLUGIN_ADD = 0,
|
|
WMS_EVENT_PLUGIN_REMOVE = 1,
|
|
WMS_EVENT_PLUGIN_ENABLE = 2,
|
|
WMS_EVENT_PLUGIN_DISABLE = 3,
|
|
WMS_EVENT_PLUGIN_PROPERTY_CHANGE = 4,
|
|
WMS_EVENT_PLUGIN_ERROR = 5,
|
|
WMS_EVENT_PLUGIN_NAME_CHANGE = 6,
|
|
WMS_EVENT_PLUGIN_LOAD_TYPE_CHANGE = 7,
|
|
WMS_EVENT_PLUGIN_SELECTION_ORDER_CHANGE = 8,
|
|
WMS_NUM_PLUGIN_EVENTS = 9
|
|
} WMS_PLUGIN_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_CACHE_EVENT_TYPE
|
|
{ WMS_EVENT_CACHE_HIT = 0,
|
|
WMS_EVENT_CACHE_MISS = 1,
|
|
WMS_EVENT_CACHE_DOWNLOAD_START = 2,
|
|
WMS_EVENT_CACHE_DOWNLOAD_COMPLETE = 3,
|
|
WMS_EVENT_CACHE_REDIRECT = 4,
|
|
WMS_EVENT_CACHE_REDIRECT_TO_PROXY = 5,
|
|
WMS_EVENT_CACHE_PRESTUFF_COMPLETE = 6,
|
|
WMS_NUM_CACHE_EVENTS = 7
|
|
} WMS_CACHE_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_PLAYLIST_EVENT_TYPE
|
|
{ WMS_EVENT_PLAYLIST_SWITCH = 0,
|
|
WMS_EVENT_PLAYLIST_CUE = 1,
|
|
WMS_EVENT_PLAYLIST_MODIFY = 2,
|
|
WMS_EVENT_PLAYLIST_FAILOVER = 3,
|
|
WMS_NUM_PLAYLIST_EVENTS = 4
|
|
} WMS_PLAYLIST_EVENT_TYPE;
|
|
|
|
typedef /* [public] */
|
|
enum WMS_RECORD_PROGRESS_OPCODE
|
|
{ WMS_RECORD_PROGRESS_ARCHIVE_STARTED = 0,
|
|
WMS_RECORD_PROGRESS_ARCHIVE_FINISHED = 1
|
|
} WMS_RECORD_PROGRESS_OPCODE;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_event_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_event_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __IWMSEventNotificationPlugin_INTERFACE_DEFINED__
|
|
#define __IWMSEventNotificationPlugin_INTERFACE_DEFINED__
|
|
|
|
/* interface IWMSEventNotificationPlugin */
|
|
/* [helpstring][unique][version][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IWMSEventNotificationPlugin;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("BE185FF0-6932-11d2-8B3B-006097B01206")
|
|
IWMSEventNotificationPlugin : public IUnknown
|
|
{
|
|
public:
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetHandledEvents(
|
|
/* [retval][out] */ VARIANT *pvarEvents) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnEvent(
|
|
/* [in] */ WMS_EVENT *pEvent,
|
|
/* [in] */ IWMSContext *pUserCtx,
|
|
/* [in] */ IWMSContext *pPresentationCtx,
|
|
/* [in] */ IWMSCommandContext *pCommandCtx) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IWMSEventNotificationPluginVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
IWMSEventNotificationPlugin * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
IWMSEventNotificationPlugin * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
IWMSEventNotificationPlugin * This);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHandledEvents )(
|
|
IWMSEventNotificationPlugin * This,
|
|
/* [retval][out] */ VARIANT *pvarEvents);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnEvent )(
|
|
IWMSEventNotificationPlugin * This,
|
|
/* [in] */ WMS_EVENT *pEvent,
|
|
/* [in] */ IWMSContext *pUserCtx,
|
|
/* [in] */ IWMSContext *pPresentationCtx,
|
|
/* [in] */ IWMSCommandContext *pCommandCtx);
|
|
|
|
END_INTERFACE
|
|
} IWMSEventNotificationPluginVtbl;
|
|
|
|
interface IWMSEventNotificationPlugin
|
|
{
|
|
CONST_VTBL struct IWMSEventNotificationPluginVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IWMSEventNotificationPlugin_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IWMSEventNotificationPlugin_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IWMSEventNotificationPlugin_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IWMSEventNotificationPlugin_GetHandledEvents(This,pvarEvents) \
|
|
(This)->lpVtbl -> GetHandledEvents(This,pvarEvents)
|
|
|
|
#define IWMSEventNotificationPlugin_OnEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx) \
|
|
(This)->lpVtbl -> OnEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventNotificationPlugin_GetHandledEvents_Proxy(
|
|
IWMSEventNotificationPlugin * This,
|
|
/* [retval][out] */ VARIANT *pvarEvents);
|
|
|
|
|
|
void __RPC_STUB IWMSEventNotificationPlugin_GetHandledEvents_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventNotificationPlugin_OnEvent_Proxy(
|
|
IWMSEventNotificationPlugin * This,
|
|
/* [in] */ WMS_EVENT *pEvent,
|
|
/* [in] */ IWMSContext *pUserCtx,
|
|
/* [in] */ IWMSContext *pPresentationCtx,
|
|
/* [in] */ IWMSCommandContext *pCommandCtx);
|
|
|
|
|
|
void __RPC_STUB IWMSEventNotificationPlugin_OnEvent_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IWMSEventNotificationPlugin_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWMSEventAuthorizationPlugin_INTERFACE_DEFINED__
|
|
#define __IWMSEventAuthorizationPlugin_INTERFACE_DEFINED__
|
|
|
|
/* interface IWMSEventAuthorizationPlugin */
|
|
/* [helpstring][unique][version][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IWMSEventAuthorizationPlugin;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("BE185FF1-6932-11d2-8B3B-006097B01206")
|
|
IWMSEventAuthorizationPlugin : public IUnknown
|
|
{
|
|
public:
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAuthorizedEvents(
|
|
/* [retval][out] */ VARIANT *pvarEvents) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AuthorizeEvent(
|
|
/* [in] */ WMS_EVENT *pEvent,
|
|
/* [in] */ IWMSContext *pUserCtx,
|
|
/* [in] */ IWMSContext *pPresentationCtx,
|
|
/* [in] */ IWMSCommandContext *pCommandCtx,
|
|
/* [in] */ IWMSEventAuthorizationCallback *pCallback,
|
|
/* [in] */ VARIANT Context) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IWMSEventAuthorizationPluginVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
IWMSEventAuthorizationPlugin * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
IWMSEventAuthorizationPlugin * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
IWMSEventAuthorizationPlugin * This);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAuthorizedEvents )(
|
|
IWMSEventAuthorizationPlugin * This,
|
|
/* [retval][out] */ VARIANT *pvarEvents);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AuthorizeEvent )(
|
|
IWMSEventAuthorizationPlugin * This,
|
|
/* [in] */ WMS_EVENT *pEvent,
|
|
/* [in] */ IWMSContext *pUserCtx,
|
|
/* [in] */ IWMSContext *pPresentationCtx,
|
|
/* [in] */ IWMSCommandContext *pCommandCtx,
|
|
/* [in] */ IWMSEventAuthorizationCallback *pCallback,
|
|
/* [in] */ VARIANT Context);
|
|
|
|
END_INTERFACE
|
|
} IWMSEventAuthorizationPluginVtbl;
|
|
|
|
interface IWMSEventAuthorizationPlugin
|
|
{
|
|
CONST_VTBL struct IWMSEventAuthorizationPluginVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IWMSEventAuthorizationPlugin_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IWMSEventAuthorizationPlugin_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IWMSEventAuthorizationPlugin_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IWMSEventAuthorizationPlugin_GetAuthorizedEvents(This,pvarEvents) \
|
|
(This)->lpVtbl -> GetAuthorizedEvents(This,pvarEvents)
|
|
|
|
#define IWMSEventAuthorizationPlugin_AuthorizeEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx,pCallback,Context) \
|
|
(This)->lpVtbl -> AuthorizeEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx,pCallback,Context)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventAuthorizationPlugin_GetAuthorizedEvents_Proxy(
|
|
IWMSEventAuthorizationPlugin * This,
|
|
/* [retval][out] */ VARIANT *pvarEvents);
|
|
|
|
|
|
void __RPC_STUB IWMSEventAuthorizationPlugin_GetAuthorizedEvents_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventAuthorizationPlugin_AuthorizeEvent_Proxy(
|
|
IWMSEventAuthorizationPlugin * This,
|
|
/* [in] */ WMS_EVENT *pEvent,
|
|
/* [in] */ IWMSContext *pUserCtx,
|
|
/* [in] */ IWMSContext *pPresentationCtx,
|
|
/* [in] */ IWMSCommandContext *pCommandCtx,
|
|
/* [in] */ IWMSEventAuthorizationCallback *pCallback,
|
|
/* [in] */ VARIANT Context);
|
|
|
|
|
|
void __RPC_STUB IWMSEventAuthorizationPlugin_AuthorizeEvent_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IWMSEventAuthorizationPlugin_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWMSEventAuthorizationCallback_INTERFACE_DEFINED__
|
|
#define __IWMSEventAuthorizationCallback_INTERFACE_DEFINED__
|
|
|
|
/* interface IWMSEventAuthorizationCallback */
|
|
/* [helpstring][unique][version][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IWMSEventAuthorizationCallback;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("BE185FF2-6932-11d2-8B3B-006097B01206")
|
|
IWMSEventAuthorizationCallback : public IUnknown
|
|
{
|
|
public:
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnAuthorizeEvent(
|
|
/* [in] */ long hr,
|
|
/* [in] */ VARIANT Context) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IWMSEventAuthorizationCallbackVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
IWMSEventAuthorizationCallback * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
IWMSEventAuthorizationCallback * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
IWMSEventAuthorizationCallback * This);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnAuthorizeEvent )(
|
|
IWMSEventAuthorizationCallback * This,
|
|
/* [in] */ long hr,
|
|
/* [in] */ VARIANT Context);
|
|
|
|
END_INTERFACE
|
|
} IWMSEventAuthorizationCallbackVtbl;
|
|
|
|
interface IWMSEventAuthorizationCallback
|
|
{
|
|
CONST_VTBL struct IWMSEventAuthorizationCallbackVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IWMSEventAuthorizationCallback_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IWMSEventAuthorizationCallback_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IWMSEventAuthorizationCallback_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IWMSEventAuthorizationCallback_OnAuthorizeEvent(This,hr,Context) \
|
|
(This)->lpVtbl -> OnAuthorizeEvent(This,hr,Context)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventAuthorizationCallback_OnAuthorizeEvent_Proxy(
|
|
IWMSEventAuthorizationCallback * This,
|
|
/* [in] */ long hr,
|
|
/* [in] */ VARIANT Context);
|
|
|
|
|
|
void __RPC_STUB IWMSEventAuthorizationCallback_OnAuthorizeEvent_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IWMSEventAuthorizationCallback_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
|
|
unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
|
|
unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
|
|
void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|