[pso] [Tema3][Windows]Cannot create a file when that file already exists

Sorin Dumitru dumitru.sorin87 at gmail.com
Tue May 4 16:27:44 EEST 2010


Salut,

Primesc o eroare cand creez deviceul:

status = IoCreateDevice(
			driver,
			sizeof(raid_dev_t),
			TO_UNICODE(LOGICAL_DISK_DEVICE_NAME, &devUnicodeName),
			FILE_DEVICE_DISK,
			FILE_DEVICE_SECURE_OPEN,
			FALSE,
			&device);

Cannot create a file when that file already exists.

Inteleg ce vrea sa spuna, dar nu inteleg de ce imi spune asta, ca nu
cred ca mai exista un device cu numele asta
pe masina(ultima versiune). LOGICAL_DISK_DEVICE_NAME e cel din ssr.h.
De ce primesc eroarea asta?

Sorin


More information about the pso mailing list