windows-nt/Source/XPSP1/NT/net/config/netcfg/engine/pszarray.h
2020-09-26 16:20:57 +08:00

48 lines
812 B
C++

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1999.
//
// File: P S Z A R R A Y . H
//
// Contents: Implements the basic datatype for a collection of pointers
// to strings.
//
// Notes:
//
// Author: shaunco 9 Feb 1999
//
//----------------------------------------------------------------------------
#pragma once
class CPszArray : public vector<PCWSTR>
{
public:
VOID
Clear ()
{
clear ();
}
UINT
Count () const
{
return size();
}
BOOL
FIsEmpty () const
{
return empty();
}
HRESULT
HrAddPointer (
IN PCWSTR psz);
HRESULT
HrReserveRoomForPointers (
IN UINT cPointers);
};