building a windows API database