#NEWLINE# @ NtdllProxy ( 'NtOpenDirectoryObject' , error_ntstatus ) #NEWLINE# def NtOpenDirectoryObject( DirectoryHandle , DesiredAccess , ObjectAttributes ) : #NEWLINE# #INDENT# return NtOpenDirectoryObject . ctypes_function ( DirectoryHandle , DesiredAccess , DesiredAccess )