wavelength 1.0.0
Loading...
Searching...
No Matches
HxSafeArray.h
Go to the documentation of this file.
1#pragma once
2
3#include <windows.h>
4
5#include <oleauto.h>
6
14public:
23 HxSafeArray(SAFEARRAY *array);
24
31 int NumItems();
32
39 void Resize(int numItems);
40
41protected:
43 SAFEARRAY *mArray;
44};
void Resize(int numItems)
Change the number of elements, with a lower bound of zero.
SAFEARRAY * mArray
Definition HxSafeArray.h:43
HxSafeArray(SAFEARRAY *array)
Wrap an array and count its elements.
int mNumItems
Definition HxSafeArray.h:42
int NumItems()
Report the number of elements.