windows-nt/Source/XPSP1/NT/net/config/netcfg/engine/pszarray.h

48 lines
812 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// 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);
};