阅读:3095回复:2
ObReferenceObjectByName 怎么 用啊
哪个.h文件里有这个声明呢
|
|
|
沙发#
发布于:2007-10-23 10:16
多谢,已经搞定!
|
|
|
板凳#
发布于:2007-10-22 16:31
NTSTATUS
ObReferenceObjectByName ( __in PUNICODE_STRING ObjectName, __in ULONG Attributes, __in_opt PACCESS_STATE AccessState, __in_opt ACCESS_MASK DesiredAccess, __in POBJECT_TYPE ObjectType, __in KPROCESSOR_MODE AccessMode, __inout_opt PVOID ParseContext, __out PVOID *Object ) /*++ Routine Description: Given a name of an object this routine returns a pointer to the body of the object with proper ref counts Arguments: ObjectName - Supplies the name of the object being referenced Attributes - Supplies the desired handle attributes AccessState - Supplies an optional pointer to the current access status describing already granted access types, the privileges used to get them, and any access types yet to be granted. DesiredAccess - Optionally supplies the desired access to the for the object ObjectType - Specifies the object type according to the caller AccessMode - Supplies the processor mode of the access ParseContext - Optionally supplies a context to pass down to the parse routine Object - Receives a pointer to the referenced object body Return Value: An appropriate NTSTATUS value --*/ |
|
|