windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/msg/rpcrecv.h

49 lines
903 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
Abstract:
History:
--*/
#ifndef __RPCRECV_H__
#define __RPCRECV_H__
#include <unk.h>
#include <wmimsg.h>
#include <comutl.h>
#include "rpcmsg.h"
/**************************************************************************
CMsgRpcReceiver
***************************************************************************/
class CMsgRpcReceiver
: public CUnkBase< IWmiMessageReceiver, &IID_IWmiMessageReceiver >
{
public:
CMsgRpcReceiver( CLifeControl* pCtl ) :
CUnkBase<IWmiMessageReceiver,&IID_IWmiMessageReceiver>( pCtl ) { }
~CMsgRpcReceiver() { Close(); }
STDMETHOD(Open)( LPCWSTR wszEndpoint,
DWORD dwFlags,
WMIMSG_RCVR_AUTH_INFOP pAuthInfo,
IWmiMessageSendReceive* pRcv );
STDMETHOD(Close)();
};
#endif // __RPCRECV_H__