How to make File Copy Protect using WIN32

Guru_Angadi's Avatar, Join Date: Mar 2012
Newbie Member
Hello..

I have created a file using Core WIN32 & code is like this : HANDLE hFile = CreateFile("E:\\FileName123.txt", GENERIC_READ,0,0,OPEN_ALWAYS, FILE_ATTRIBUTE_READONLY, 0);
This will create a file with name FileName123 in Erive.

My question is: When it will create the file in Erive, it must become Copy Protect. That is., File should not copy to other location.

Please can u suggest any solution for this ..

Thanks..
0
Exquisite's Avatar, Join Date: Aug 2011
Light Poster
cnt get u right.