隠しファイルタイプを作成する必要CreateFile()
がありますが、無効なハンドルを返し続けるという問題があります。
file = CreateFileW(_T("hey.txt"),
GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,
0, 0);
error = GetLastError();
WriteFile(file, buff, sizeof(buff),
&dwRet, NULL);
何か案が?