能力值:
( LV8,RANK:130 )
|
-
-
2 楼
InitializeObjectAttributes是一个宏,ntddk和ntifs中都有
|
能力值:
( LV10,RANK:170 )
|
-
-
3 楼
知道了!
原来
/*
* 在DDK的ntdef.h中InitializeObjectAttributes()是一个宏
*/
static VOID InitializeObjectAttributes ( OUT POBJECT_ATTRIBUTES InitializedAttributes,
IN PUNICODE_STRING ObjectName,
IN ULONG Attributes,
IN HANDLE RootDirectory,
IN PSECURITY_DESCRIPTOR SecurityDescriptor
)
{
InitializedAttributes->Length = sizeof( OBJECT_ATTRIBUTES );
InitializedAttributes->RootDirectory = RootDirectory;
InitializedAttributes->Attributes = Attributes;
InitializedAttributes->ObjectName = ObjectName;
InitializedAttributes->SecurityDescriptor = SecurityDescriptor;
InitializedAttributes->SecurityQualityOfService = NULL;
return;
} /* end of InitializeObjectAttributes */
|
能力值:
( LV10,RANK:170 )
|
-
-
4 楼
谢谢啦!哈哈!
|
|
|