Skip to content

Latest commit

 

History

History
119 lines (100 loc) · 2.93 KB

nf-smbclnt-setappinstancecsvflags.md

File metadata and controls

119 lines (100 loc) · 2.93 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date 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.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:smbclnt.SetAppInstanceCsvFlags
SetAppInstanceCsvFlags function (smbclnt.h)
Sets the flags that affect connections from the application instance.
SET_APP_INSTANCE_CSV_FLAGS
SET_APP_INSTANCE_CSV_FLAGS function [Failover Cluster]
SetAppInstanceCsvFlags
SetAppInstanceCsvFlags function [Failover Cluster]
mscs.setappinstancecsvflags
smbclnt/SET_APP_INSTANCE_CSV_FLAGS
smbclnt/SetAppInstanceCsvFlags
mscs\setappinstancecsvflags.htm
MsCS
37FDAB0A-1593-47D6-B4CE-A667EBA01680
12/05/2018
SET_APP_INSTANCE_CSV_FLAGS, SET_APP_INSTANCE_CSV_FLAGS function [Failover Cluster], SetAppInstanceCsvFlags, SetAppInstanceCsvFlags function [Failover Cluster], mscs.setappinstancecsvflags, smbclnt/SET_APP_INSTANCE_CSV_FLAGS, smbclnt/SetAppInstanceCsvFlags
smbclnt.h
Windows
None supported
Windows Server 2016
NTLanMan.lib
NTLanMan.dll
Windows
19H1
SetAppInstanceCsvFlags
smbclnt/SetAppInstanceCsvFlags
c++
APIRef
kbSyntax
DllExport
NTLanMan.dll
SetAppInstanceCsvFlags

SetAppInstanceCsvFlags function

-description

Sets the flags that affect connections from the application instance.

-parameters

-param ProcessHandle [in]

A process handle for the current process or a remote process to be tagged with the application instance. To tag a remote process, the handle must have PROCESS_TERMINATE access to that process.

-param Mask [in]

A bitmask that indicates the flags that are modified by the Flags parameter.

-param Flags [in]

New values of the flags.

-returns

Returns "0" if the operation is successful; otherwise, one of the following error codes is returned:

Return code Description
ERROR_NOT_ENOUGH_MEMORY
The CCF filter failed to allocate the cache objects for the operation.
ERROR_ACCESS_DENIED
The current process that's trying to tag the process specified by ProcessHandle doesn't have PROCESS_TERMINATE access to that process.
ERROR_NOT_FOUND
The CCF mini-filter was not found.

-see-also

Failover Cluster Resource Management Functions