Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

48 lines
903 B

/*++
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__