WinApi cpp extension