| 2 | #include <Shlwapi.h> |
| 3 | |
| 4 | PINTEGER_LIST CreateIntegerList() |
| 5 | { |
| 6 | PINTEGER_LIST list = NEW(INTEGER_LIST); |
| 7 | list->Count = 0; |
| 8 | list->Capacity = 16; |
| 9 | list->Values = NEW_ARRAY(INT, list->Capacity); |
| 10 | return list; |
| 11 | } |
| 12 | VOID LoadIntegerListFromRegistryKey(PINTEGER_LIST list, HKEY key) |
| 13 | { |
| 14 | DWORD count; |