Hi all,

How can we write at a given sector in my hard disk?

I have tried it using this code but nothing happens

Code:
HANDLE			hFile ;
	DWORD dwResult;


	hFile  = CreateFile (L"\\\\.\\PhysicalDrive3",
					   GENERIC_WRITE,
					   0,                      // do not share
                       NULL,                   // default security
                       CREATE_ALWAYS,          // overwrite existing
                       FILE_ATTRIBUTE_NORMAL,  // normal file
                       NULL);  
	WriteFile (hFile, TEST_STR, strlen(TEST_STR), &dwResult, NULL);
Can anybody help me in this?

Thanks in advance