thx guys,the problem is solved.You all rock!!
xxxxx@gmail.com wrote:
void DostoDeviceNames()
{
OBJECT_ATTRIBUTES Attributes;
UNICODE_STRING NameUnicodeString ;
UNICODE_STRING *TargetString;HANDLE LinkHandle;
ULONG len;RtlInitUnicodeString( &NameUnicodeString, L"C" ) ;
The symbolic name is not “C”. The symbolic name is “C:”, with the colon.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.