Add APIENTRY to types.h