code: def get_directory_handle(path):
      """Returns a Windows handle to the specified directory path."""
      return CreateFileW(
          path,
          FILE_LIST_DIRECTORY,
          WATCHDOG_FILE_SHARE_FLAGS,
          None,
          OPEN_EXISTING,
          WATCHDOG_FILE_FLAGS,
          None,
      )
  
imports: from __future__ import with_statement
  import ctypes.wintypes
  from functools import reduce
label_desc: Use image node_id 5 for calling a global function with example usage: get_directory_handle(path) and returns: CreateFileW