ZwQueryFullAttributesFile routine

The ZwQueryFullAttributesFile routine supplies network open information for the specified file.

Syntax


NTSTATUS ZwQueryFullAttributesFile(
  _In_   POBJECT_ATTRIBUTES ObjectAttributes,
  _Out_  PFILE_NETWORK_OPEN_INFORMATION FileInformation
);

Parameters

ObjectAttributes [in]

A pointer to an OBJECT_ATTRIBUTES structure that supplies the attributes to be used for the file object.

FileInformation [out]

A pointer to a FILE_NETWORK_OPEN_INFORMATION structure that receives the returned file attributes information.

Return value

ZwQueryFullAttributesFile returns STATUS_SUCCESS on success, or the appropriate error status.

Remarks

Callers of ZwQueryFullAttributesFile must be running at IRQL = PASSIVE_LEVEL and with special kernel APCs enabled.

Requirements

Version

Available starting with Windows XP.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL (see Remarks section)

DDI compliance rules

PowerIrpDDis, HwStorPortProhibitedDDIs

See also

FILE_NETWORK_OPEN_INFORMATION
OBJECT_ATTRIBUTES

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft