22 #ifndef DOKAN_VECTOR_H_ 23 #define DOKAN_VECTOR_H_ 25 typedef struct _DOKAN_VECTOR {
30 BOOL IsStackAllocated;
37 DOKAN_VECTOR *DokanVector_AllocWithCapacity(
size_t ItemSize,
size_t MaxItems);
40 VOID DokanVector_Free(PDOKAN_VECTOR Vector);
43 BOOL DokanVector_PushFront(PDOKAN_VECTOR Vector, PVOID Item);
46 BOOL DokanVector_PushBack(PDOKAN_VECTOR Vector, PVOID Item);
49 BOOL DokanVector_PushBackArray(PDOKAN_VECTOR Vector, PVOID Items,
size_t Count);
52 VOID DokanVector_PopBack(PDOKAN_VECTOR Vector);
55 VOID DokanVector_PopBackArray(PDOKAN_VECTOR Vector,
size_t Count);
58 VOID DokanVector_Clear(PDOKAN_VECTOR Vector);
61 PVOID DokanVector_GetItem(PDOKAN_VECTOR Vector,
size_t Index);
64 PVOID DokanVector_GetLastItem(PDOKAN_VECTOR Vector);
67 size_t DokanVector_GetCount(PDOKAN_VECTOR Vector);
70 size_t DokanVector_GetCapacity(PDOKAN_VECTOR Vector);
73 size_t DokanVector_GetItemSize(PDOKAN_VECTOR Vector);
Definition: dokan_vector.h:25