Skip to content

Instantly share code, notes, and snippets.

#define WIN32_ULTRA_LEAN
#define UNICODE
#include <Windows.h>
#include <cstdio>
#include <cstdlib>
int TestSetCurrentDirectory( const wchar_t* directory )
{
if( !SetCurrentDirectory( directory ) )
{