Example codes for Windows