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.
 
 
 
 
 
 

67 lines
1.7 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1997.
//
// File: parsver.hxx
//
// Contents: IParserVerify implementation
//
// Classes: CImpIParserVerify
//
// History: 11-20-97 danleg Created
//
//----------------------------------------------------------------------------
#pragma once
#include <mparser.h>
class CSimpleCommandCreator;
//+---------------------------------------------------------------------------
//
// Class: CRootQuerySpec
//
// Purpose: Callback for parser to verify information
//
// History: 11-20-97 danleg Created
//----------------------------------------------------------------------------
class CImpIParserVerify : public IParserVerify
{
public:
CImpIParserVerify ( );
//
// IUnknown methods
//
STDMETHODIMP QueryInterface ( REFIID riid, LPVOID* ppVoid );
STDMETHODIMP_(ULONG) Release ( void );
STDMETHODIMP_(ULONG) AddRef ( void );
//
// IParserVerify methods
//
STDMETHODIMP VerifyMachine ( LPCWSTR pcwszMachine );
STDMETHODIMP VerifyCatalog ( LPCWSTR pcwszMachine,
LPCWSTR pcwszCatalog );
//
// Non-interface methods
//
STDMETHODIMP GetDefaultCatalog ( LPWSTR pwszCatalogName,
ULONG cwcIn,
ULONG * pcwcOut );
void GetColMapCreator ( IColumnMapperCreator** pICMC );
private:
//
// Data members
//
LONG _cRef;
XInterface<ISimpleCommandCreator> _xISimpleCommandCreator;
};