ZwCreateKey 提供调用方可用于操作注册表项的句柄。 有关详细信息,请参阅 在驱动程序中使用注册表。KeyHandle 指向的句柄不再使用后,驱动程序必须调用 ZwClose 将其关闭。可通过两种替代方法指定要使用 ZwCreateKey创建或打开的文件的名称:作为完全限定的路径名,在输入 ObjectAttributes的ObjectName 成员中提供。 注册表...
If the call to this function occurs in user mode, you should use the name "NtCreateKey" instead of "ZwCreateKey".The NtCreateKey routine in the Windows kernel is not directly accessible to kernel-mode drivers.For calls from kernel-mode drivers, the NtXxx and ZwXxx versions of a Windows ...
注册表是Windows中的一个重要的数据库,用于存储系统和应用程序的设置信息,注册表是一个巨大的树形结构...
Once the handle pointed to by KeyHandle is no longer in use, the driver must call ZwClose to close it.There are two alternate ways to specify the name of the file to be created or opened with ZwCreateKey:As a fully qualified pathname, supplied in the ObjectName member of the input Objec...
ZwCreateKeyTransacted と同様に、ZwOpenKeyTransacted ルーチンはキーをトランザクションに関連付けます。 新しいキーを作成したり、既存のキーを開いたりできる ZwCreateKeyTransacted とは異なり、 ZwOpenKeyTransacted は既に存在するレジストリ キーのみを開くことができます。 カーネル モード ド...
例如,对 ZwCreateKeyTransacted 和ZwOpenKeyTransacted 的 调用可以将一个或多个句柄与事务关联到注册表项。 调用指定作为输入参数的注册表项句柄,该句柄是通过调用 ZwCreateKeyTransacted 或ZwOpenKeyTransacted 获取的,该句柄提供事务句柄。 例如,对 ZwSetValueKey 例程的调用可以使用以这种方式获取的键句柄将注册表项的...
If the call to this function occurs in user mode, you should use the name "NtCreateKey" instead of "ZwCreateKey".The NtCreateKey routine in the Windows kernel is not directly accessible to kernel-mode drivers.For calls from kernel-mode drivers, the NtXxx and ZwXxx versions of a Windows ...
The ZwCreateKey routine creates a new registry key or opens an existing one.SyntaxC++ Copy NTSYSAPI NTSTATUS ZwCreateKey( [out] PHANDLE KeyHandle, [in] ACCESS_MASK DesiredAccess, [in] POBJECT_ATTRIBUTES ObjectAttributes, ULONG TitleIndex, [in, optional] PUNICODE_STRING Class, [in] ULONG Creat...
The ZwCreateKeyTransacted routine creates a new registry key or opens an existing one, and it associates the key with a transaction.
The ZwCreateKey routine creates a new registry key or opens an existing one.SyntaxC++ Kopija NTSYSAPI NTSTATUS ZwCreateKey( [out] PHANDLE KeyHandle, [in] ACCESS_MASK DesiredAccess, [in] POBJECT_ATTRIBUTES ObjectAttributes, ULONG TitleIndex, [in, optional] PUNICODE_STRING Class, [in] ULONG ...