Added win32 interop methods