adding some windows API