Random code snippits that utilize the Windows API