hfile file = open (file_name, &flags),
{
  flags = { source : OPEN_DEVICE_DRIVER }
};

hfile file = open (file_name, OPEN_READ, &flags),
{
  flags = { source : OPEN_DEVICE_DRIVER }
};

hfile file = open (file_name, OPEN_WRITE, &flags),
{
  flags = { target : OPEN_DEVICE_DRIVER }
};

hfile file = open (file_name, OPEN_READ | OPEN_WRITE, &flags),
{
  flags = { target : OPEN_DEVICE_DRIVER }
};
