Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 2.24 KB

nf-wdm-ioupdatelinkshareaccessex.md

File metadata and controls

72 lines (55 loc) · 2.24 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos ms.custom f1_keywords topic_type api_type api_location api_name
NF:wdm.IoUpdateLinkShareAccessEx
IoUpdateLinkShareAccessEx function
The IoUpdateLinkShareAccessEx routine updates the share access for the given file object, usually when the file is being opened.
kernel
03/12/2019
IoUpdateLinkShareAccessEx function
IoUpdateLinkShareAccessEx, IoUpdateLinkShareAccessEx function [Kernel-Mode Driver Architecture], kernel.IoUpdateLinkShareAccessEx, wdm/IoUpdateLinkShareAccessEx
wdm.h
Universal
Windows 10, version 1903
NtosKrnl.lib
NtosKrnl.exe
PASSIVE_LEVEL
Windows
19H1
IoUpdateLinkShareAccessEx
wdm/IoUpdateLinkShareAccessEx
apiref
DllExport
NtosKrnl.exe
IoUpdateLinkShareAccessEx

IoUpdateLinkShareAccessEx function

-description

The IoUpdateLinkShareAccessEx routine updates the access and share access for the given file object.

-parameters

-param FileObject

Pointer to the file object, which usually is being closed by the current thread.

-param ShareAccess

A pointer to the common share-access data structure that is associated with FileObject. Drivers should treat this structure as opaque.

-param LinkShareAccess

A pointer to the common link share-access data structure (LINK_SHARE_ACCESS) that is associated with FileObject. Drivers should treat this structure as opaque.

-param IoShareAccessFlags

A bitmask of these flags:

IO_SHARE_ACCESS_NON_PRIMARY_STREAM (0x00000080) specifies that the stream is neither the primary data stream nor a directory stream.

-remarks

Before calling IoUpdateLinkShareAccessEx, the driver must successfully call IoCheckLinkShareAccess with the Update parameter set to FALSE.

-see-also