Return the list of objects in the current directory object. :rtype: [:class:`KernelObject`] -- A list of object .. note:: the :class:`KernelObject` must be of type ``Directory`` or it will raise :class:`~windows.generated_def.ntstatus.NtStatusException` wit
(self)
| 82 | return list(self) |
| 83 | |
| 84 | def values(self): |
| 85 | """Return the list of objects in the current directory object. |
| 86 | |
| 87 | :rtype: [:class:`KernelObject`] -- A list of object |
| 88 | |
| 89 | .. note:: |
| 90 | |
| 91 | the :class:`KernelObject` must be of type ``Directory`` or |
| 92 | it will raise :class:`~windows.generated_def.ntstatus.NtStatusException` with |
| 93 | code :data:`~windows.generated_def.STATUS_OBJECT_TYPE_MISMATCH` |
| 94 | """ |
| 95 | path = self.fullname |
| 96 | return [KernelObject(path, name, typename) for name, typename in self._directory_query_generator()] |
| 97 | |
| 98 | def _open_directory(self): |
| 99 | path = self.fullname |
nothing calls this directly
no test coverage detected