Home
last modified time | relevance | path

Searched refs:ObjectName (Results 1 – 25 of 116) sorted by relevance

12345

/reactos/ntoskrnl/ob/
H A Dobname.c477 ObjectName, in ObpLookupObjectName()
517 if ((ObjectName->Buffer) && in ObpLookupObjectName()
611 else if (!(ObjectName->Length) || !(ObjectName->Buffer)) in ObpLookupObjectName()
626 LocalName = *ObjectName; in ObpLookupObjectName()
634 if (!(ObjectName->Length) || in ObpLookupObjectName()
635 !(ObjectName->Buffer) || in ObpLookupObjectName()
680 LocalName = *ObjectName; in ObpLookupObjectName()
1216 PWCH ObjectName; in ObQueryNameString() local
1357 ObjectName = (PWCH)((ULONG_PTR)ObjectName - in ObQueryNameString()
1378 ObjectName = (PWCH)((ULONG_PTR)ObjectName - in ObQueryNameString()
[all …]
H A Doblife.c339 ObjectName->Length = (USHORT)Length; in ObpAllocateObjectNameBuffer()
340 ObjectName->Buffer = Buffer; in ObpAllocateObjectNameBuffer()
403 LocalName = *ObjectName; in ObpCaptureObjectName()
689 if (ObjectName->Buffer) in ObpAllocateObject()
752 NameInfo->Name = *ObjectName; in ObpAllocateObject()
1051 UNICODE_STRING ObjectName; in ObCreateObject() local
1125 if (ObjectName.Buffer) ObpFreeObjectNameBuffer(&ObjectName); in ObCreateObject()
1148 UNICODE_STRING ObjectName; in ObCreateObjectType() local
1204 if (!ObjectName.Buffer) in ObCreateObjectType()
1226 ExFreePool(ObjectName.Buffer); in ObCreateObjectType()
[all …]
H A Dobref.c419 UNICODE_STRING ObjectName; in ObReferenceObjectByName() local
430 Status = ObpCaptureObjectName(&ObjectName, ObjectPath, AccessMode, TRUE); in ObReferenceObjectByName()
434 if (!ObjectName.Length) return STATUS_OBJECT_NAME_INVALID; in ObReferenceObjectByName()
451 &ObjectName, in ObReferenceObjectByName()
488 ObpFreeObjectNameBuffer(&ObjectName); in ObReferenceObjectByName()
H A Dobhandle.c2541 UNICODE_STRING ObjectName; in ObOpenObjectByName() local
2571 &ObjectName); in ObOpenObjectByName()
2613 &ObjectName, in ObOpenObjectByName()
2695 if (ObjectName.Buffer) ObpFreeObjectNameBuffer(&ObjectName); in ObOpenObjectByName()
2945 PUNICODE_STRING ObjectName; in ObInsertObject() local
2978 ObjectName = NULL; in ObInsertObject()
2984 ObjectName = &ObjectNameInfo->Name; in ObInsertObject()
2990 (ObjectName == NULL) && in ObInsertObject()
3066 if (ObjectName) in ObInsertObject()
3070 ObjectName, in ObInsertObject()
[all …]
/reactos/ntoskrnl/lpc/
H A Dcreate.c52 UNICODE_STRING CapturedObjectName, *ObjectName; in LpcpCreatePort() local
73 ObjectName = ((volatile OBJECT_ATTRIBUTES*)ObjectAttributes)->ObjectName; in LpcpCreatePort()
74 if (ObjectName) in LpcpCreatePort()
75 CapturedObjectName = ProbeForReadUnicodeString(ObjectName); in LpcpCreatePort()
86 ObjectName = ObjectAttributes->ObjectName; in LpcpCreatePort()
87 if (ObjectName) in LpcpCreatePort()
88 CapturedObjectName = *ObjectName; in LpcpCreatePort()
100 ProbeAndCaptureUnicodeString(&CapturedPortName, PreviousMode, ObjectName); in LpcpCreatePort()
/reactos/dll/win32/advapi32/sec/
H A Daudit.c25 LPSTR ObjectName, in AccessCheckAndAuditAlarmA() argument
46 (PCHAR)ObjectName); in AccessCheckAndAuditAlarmA()
91 LPWSTR ObjectName, in AccessCheckAndAuditAlarmW() argument
112 (PWSTR)ObjectName); in AccessCheckAndAuditAlarmW()
270 LPSTR ObjectName, in ObjectOpenAuditAlarmA() argument
290 (PCHAR)ObjectName); in ObjectOpenAuditAlarmA()
324 LPWSTR ObjectName, in ObjectOpenAuditAlarmW() argument
344 (PWSTR)ObjectName); in ObjectOpenAuditAlarmW()
595 IN LPCSTR ObjectName, in AccessCheckByTypeResultListAndAuditAlarmA() argument
622 IN LPCWSTR ObjectName, in AccessCheckByTypeAndAuditAlarmW() argument
[all …]
/reactos/dll/directx/ksuser/
H A Dksuser.c26 UNICODE_STRING ObjectName; in KsiCreateObjectType() local
57 ObjectName.Buffer = pStr; in KsiCreateObjectType()
58 ObjectName.Length = ObjectName.MaximumLength = TotalSize; in KsiCreateObjectType()
61 InitializeObjectAttributes(&ObjectAttributes, &ObjectName, OBJ_CASE_INSENSITIVE, hHandle, NULL); in KsiCreateObjectType()
/reactos/dll/win32/kernel32/include/
H A Dbase_x.h109 UNICODE_STRING ObjectName; \
113 if (name) RtlInitUnicodeString(&ObjectName, name); \
116 name ? &ObjectName : NULL); \
150 RtlInitUnicodeString(&ObjectName, name); \
152 &ObjectName, \
/reactos/drivers/filters/fltmgr/
H A DObject.c246 _Inout_ PUNICODE_STRING ObjectName) in FltpGetBaseDeviceObjectName() argument
256 Status = FltpGetObjectName(BaseDeviceObject, ObjectName); in FltpGetBaseDeviceObjectName()
264 _Inout_ PUNICODE_STRING ObjectName) in FltpGetObjectName() argument
271 if (ObjectName == NULL) in FltpGetObjectName()
297 if (ObjectName->MaximumLength < ObjectNameInfo->Name.Length) in FltpGetObjectName()
300 Status = FltpReallocateUnicodeString(ObjectName, in FltpGetObjectName()
309 RtlCopyUnicodeString(ObjectName, &ObjectNameInfo->Name); in FltpGetObjectName()
H A Dfltmgr.h94 _Inout_ PUNICODE_STRING ObjectName);
98 _Inout_ PUNICODE_STRING ObjectName);
/reactos/win32ss/user/ntuser/
H A Dwinsta.c478 ObjectAttributes->ObjectName); in IntCreateWindowStation()
500 ObjectAttributes->ObjectName, Status); in IntCreateWindowStation()
514 ObjectAttributes->ObjectName, Status); in IntCreateWindowStation()
822 ObjectAttributes->ObjectName, hWinSta); in NtUserCreateWindowStation()
828 ObjectAttributes->ObjectName, Status); in NtUserCreateWindowStation()
913 LocalObjectAttributes.ObjectName = NULL; in NtUserOpenWindowStation()
915 if (LocalObjectAttributes.ObjectName && in NtUserOpenWindowStation()
923 LocalObjectAttributes.ObjectName = NULL; in NtUserOpenWindowStation()
933 if (!LocalObjectAttributes.ObjectName) in NtUserOpenWindowStation()
972 ObjectAttributes->ObjectName, hWinSta); in NtUserOpenWindowStation()
[all …]
H A Ddesktop.c585 PUNICODE_STRING ObjectName; in IntResolveDesktop() local
840 RtlInitEmptyUnicodeString(ObjectName, in IntResolveDesktop()
927 ObjectName->Length = (USHORT)(wcslen(ObjectName->Buffer) * sizeof(WCHAR)); in IntResolveDesktop()
933 ObjectName, in IntResolveDesktop()
1039 ObjectName->Length = (USHORT)(wcslen(ObjectName->Buffer) * sizeof(WCHAR)); in IntResolveDesktop()
1077 ObjectName, Status); in IntResolveDesktop()
1096 ObjectName->Length = (USHORT)(wcslen(ObjectName->Buffer) * sizeof(WCHAR)); in IntResolveDesktop()
1120 ObjectName, hWinSta, Status); in IntResolveDesktop()
1175 ObjectName->Length = (USHORT)(wcslen(ObjectName->Buffer) * sizeof(WCHAR)); in IntResolveDesktop()
1181 ObjectName, in IntResolveDesktop()
[all …]
/reactos/dll/win32/samsrv/
H A Ddatabase.c46 IN LPWSTR ObjectName, in SampCreateDbObject() argument
83 ObjectName, in SampCreateDbObject()
108 ObjectName, in SampCreateDbObject()
128 (wcslen(ObjectName) + 1) * sizeof(WCHAR)); in SampCreateDbObject()
135 wcscpy(NewObject->Name, ObjectName); in SampCreateDbObject()
175 IN LPWSTR ObjectName, in SampOpenDbObject() argument
212 ObjectName, in SampOpenDbObject()
237 ObjectName, in SampOpenDbObject()
257 (wcslen(ObjectName) + 1) * sizeof(WCHAR)); in SampOpenDbObject()
264 wcscpy(NewObject->Name, ObjectName); in SampOpenDbObject()
/reactos/ntoskrnl/config/
H A Dcmlazy.c297 if (FileAttributes->ObjectName && FileAttributes->ObjectName->Buffer && in CmpCmdHiveOpen()
298 FileAttributes->ObjectName->Length >= sizeof(WCHAR) && in CmpCmdHiveOpen()
299 *FileAttributes->ObjectName->Buffer == OBJ_NAME_PATH_SEPARATOR) in CmpCmdHiveOpen()
346 Length = Length + sizeof(WCHAR) + FileAttributes->ObjectName->Length; in CmpCmdHiveOpen()
382 Status = RtlAppendUnicodeStringToString(&FileName, FileAttributes->ObjectName); in CmpCmdHiveOpen()
393 FileName = *FileAttributes->ObjectName; in CmpCmdHiveOpen()
H A Dntapi.c42 if (CapturedObjectAttributes->ObjectName) in ReleaseCapturedObjectAttributes()
55 _Out_ PUNICODE_STRING ObjectName, in ProbeAndCaptureObjectAttributes() argument
95 LocalObjectName = ObjectAttributes->ObjectName; in ProbeAndCaptureObjectAttributes()
171 RtlInitEmptyUnicodeString(ObjectName, NULL, 0); in ProbeAndCaptureObjectAttributes()
181 CapturedObjectAttributes->ObjectName = ObjectName; in ProbeAndCaptureObjectAttributes()
255 ObjectAttributes->ObjectName, ObjectAttributes->RootDirectory, in NtCreateKey()
1801 UNICODE_STRING ObjectName; in NtUnloadKey2() local
1831 ObjectName = ProbeForReadUnicodeString(CapturedTargetKey.ObjectName); in NtUnloadKey2()
1832 ProbeForRead(ObjectName.Buffer, in NtUnloadKey2()
1833 ObjectName.Length, in NtUnloadKey2()
[all …]
H A Dcmparse.c76 IN OUT PUNICODE_STRING ObjectName, in CmpGetSymbolicLink() argument
136 if (Length > ObjectName->MaximumLength) in CmpGetSymbolicLink()
158 ExFreePool(ObjectName->Buffer); in CmpGetSymbolicLink()
159 *ObjectName = NewObjectName; in CmpGetSymbolicLink()
164 ObjectName->Length = (USHORT)ValueLength; in CmpGetSymbolicLink()
168 RtlMoveMemory(&ObjectName->Buffer[(ValueLength / sizeof(WCHAR)) + 1], in CmpGetSymbolicLink()
173 ObjectName->Buffer[ValueLength / sizeof(WCHAR)] = OBJ_NAME_PATH_SEPARATOR; in CmpGetSymbolicLink()
174 ObjectName->Length += RemainingName->Length + sizeof(WCHAR); in CmpGetSymbolicLink()
178 RtlCopyMemory(ObjectName->Buffer, LinkName, ValueLength); in CmpGetSymbolicLink()
182 ObjectName->Buffer[ObjectName->Length / sizeof(WCHAR)] = UNICODE_NULL; in CmpGetSymbolicLink()
/reactos/base/setup/lib/utils/
H A Dregutil.c53 DPRINT("NtCreateKey(%wZ) called (Status %lx)\n", ObjectAttributes->ObjectName, Status); in CreateNestedKey()
57 …1("CreateNestedKey: NtCreateKey(%wZ) failed (Status %lx)\n", ObjectAttributes->ObjectName, Status); in CreateNestedKey()
67 ObjectAttributes->ObjectName->Buffer); in CreateNestedKey()
68 LocalObjectAttributes.ObjectName = &LocalKeyName; in CreateNestedKey()
92 …reateNestedKey: NtCreateKey(%wZ) failed (Status %lx)\n", LocalObjectAttributes.ObjectName, Status); in CreateNestedKey()
125 …reateNestedKey: NtCreateKey(%wZ) failed (Status %lx)\n", LocalObjectAttributes.ObjectName, Status); in CreateNestedKey()
/reactos/ntoskrnl/se/
H A Daudit.c494 _In_ PUNICODE_STRING ObjectName, in SepAccessCheckAndAuditAlarmWorker() argument
619 _In_ PUNICODE_STRING ObjectName, in SepAccessCheckAndAuditAlarm() argument
1540 _In_ PUNICODE_STRING ObjectName, in SepOpenObjectAuditAlarm() argument
1554 DBG_UNREFERENCED_PARAMETER(ObjectName); in SepOpenObjectAuditAlarm()
1626 _In_ PUNICODE_STRING ObjectName, in NtOpenObjectAuditAlarm() argument
2129 _In_ PUNICODE_STRING ObjectName, in NtAccessCheckAndAuditAlarm() argument
2143 ObjectName, in NtAccessCheckAndAuditAlarm()
2226 _In_ PUNICODE_STRING ObjectName, in NtAccessCheckByTypeAndAuditAlarm() argument
2245 ObjectName, in NtAccessCheckByTypeAndAuditAlarm()
2328 _In_ PUNICODE_STRING ObjectName, in NtAccessCheckByTypeResultListAndAuditAlarm() argument
[all …]
H A Daccess.c164 if (AccessState->ObjectName.Buffer) in SeDeleteAccessState()
166 ExFreePool(AccessState->ObjectName.Buffer); in SeDeleteAccessState()
/reactos/ntoskrnl/io/iomgr/
H A Dramdisk.c34 UNICODE_STRING GuidString, SymbolicLinkName, ObjectName, DeviceString; in IopStartRamdisk() local
151 RtlInitUnicodeString(&ObjectName, L"\\Device\\Ramdisk"); in IopStartRamdisk()
153 &ObjectName, in IopStartRamdisk()
H A Ddriver.c1275 UNICODE_STRING ObjectName; in IopUnloadDriver() local
1338 &ObjectName.MaximumLength); in IopUnloadDriver()
1344 ObjectName.Length = 0; in IopUnloadDriver()
1345 ObjectName.Buffer = ExAllocatePoolWithTag(PagedPool, in IopUnloadDriver()
1346 ObjectName.MaximumLength, in IopUnloadDriver()
1348 if (!ObjectName.Buffer) in IopUnloadDriver()
1353 NT_VERIFY(NT_SUCCESS(RtlAppendUnicodeToString(&ObjectName, DRIVER_ROOT_NAME))); in IopUnloadDriver()
1359 Status = ObReferenceObjectByName(&ObjectName, in IopUnloadDriver()
1370 DPRINT1("Can't locate driver object for %wZ\n", &ObjectName); in IopUnloadDriver()
1371 ExFreePoolWithTag(ObjectName.Buffer, TAG_IO); in IopUnloadDriver()
[all …]
/reactos/sdk/include/xdk/
H A Dntdef.template.h255 PUNICODE_STRING ObjectName; in $endif()
265 ULONG ObjectName; in $endif()
275 ULONG64 ObjectName; in $endif()
299 (p)->ObjectName = (n); \ in $endif()
/reactos/modules/rostests/winetests/ntdll/
H A Dreg.c111 (p)->ObjectName = n; \
510 attr.ObjectName = &str; in test_NtCreateKey()
1063 attr.ObjectName = &link_str; in test_symlinks()
1078 attr.ObjectName = &link_str; in test_symlinks()
1093 attr.ObjectName = &link_str; in test_symlinks()
1344 attr.ObjectName = &str; in get_key_value()
1435 attr.ObjectName = &str; in test_redirection()
1767 attr.ObjectName = &str; in test_NtQueryKey()
1788 attr.ObjectName = &str; in test_NtQueryKey()
1854 attr.ObjectName = &str; in test_notify()
[all …]
/reactos/ntoskrnl/wmi/
H A Dguidobj.c276 if (!RtlPrefixUnicodeString(&Prefix, ObjectAttributes->ObjectName, FALSE)) in WmipOpenGuidObjectByName()
279 ObjectAttributes->ObjectName); in WmipOpenGuidObjectByName()
284 GuidString = *ObjectAttributes->ObjectName; in WmipOpenGuidObjectByName()
/reactos/dll/win32/lsasrv/
H A Ddatabase.c594 IN LPWSTR ObjectName, in LsapCreateDbObject() argument
638 ObjectName); in LsapCreateDbObject()
664 ObjectName); in LsapCreateDbObject()
714 IN LPWSTR ObjectName, in LsapOpenDbObject() argument
758 ObjectName); in LsapOpenDbObject()
781 ObjectName); in LsapOpenDbObject()

12345