mirror of https://github.com/tongzx/nt5src
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.
25 lines
607 B
25 lines
607 B
|
|
#include "precomp.h"
|
|
#include <wmiauthz.h>
|
|
#include <commain.h>
|
|
#include <clsfac.h>
|
|
#include "filtprox.h"
|
|
#include "wmiauthz.h"
|
|
|
|
class CEssProxyServer : public CComServer
|
|
{
|
|
protected:
|
|
|
|
HRESULT Initialize()
|
|
{
|
|
AddClassInfo( CLSID_WbemFilterProxy,
|
|
new CSimpleClassFactory<CFilterProxyManager>(GetLifeControl()),
|
|
__TEXT("Event filter marshaling proxy"), TRUE);
|
|
AddClassInfo( CLSID_WbemTokenCache,
|
|
new CSimpleClassFactory<CWmiAuthz>(GetLifeControl()),
|
|
__TEXT("Wbem Token Cache"), TRUE );
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
} g_Server;
|