coisane: Added WINAPI declaration to internal helper functions
coisane: Renamed internal context variable from privateData to pData