FILE_REMOTE_PROTOCOL_INFORMATION Struktur (ntifs.h)
Die FILE_REMOTE_PROTOCOL_INFORMATION-Struktur enthält Datei-Remoteprotokollinformationen. Diese Struktur wird von FltQueryInformationFile zurückgegeben, wenn FileRemoteProtocolInformation- als FileInformationClass Parameter übergeben wird.
Syntax
typedef struct _FILE_REMOTE_PROTOCOL_INFORMATION {
USHORT StructureVersion;
USHORT StructureSize;
ULONG Protocol;
USHORT ProtocolMajorVersion;
USHORT ProtocolMinorVersion;
USHORT ProtocolRevision;
USHORT Reserved;
ULONG Flags;
struct {
ULONG Reserved[8];
} GenericReserved;
struct {
ULONG Reserved[16];
} ProtocolSpecificReserved;
union {
struct {
struct {
ULONG Capabilities;
} Server;
struct {
ULONG Capabilities;
ULONG ShareFlags;
ULONG CachingFlags;
UCHAR ShareType;
UCHAR Reserved0[3];
ULONG Reserved1;
} Share;
} Smb2;
ULONG Reserved[16];
} ProtocolSpecific;
} FILE_REMOTE_PROTOCOL_INFORMATION, *PFILE_REMOTE_PROTOCOL_INFORMATION;
Angehörige
StructureVersion
Version dieser Struktur. Legen Sie dieses Element wie folgt fest.
Wert | Bedeutung |
---|---|
1 | Kommunikation zwischen Computern unter Windows 7 |
2 | Kommunikation zwischen Computern unter Windows 8 |
3 | Kommunikation zwischen Computern unter Windows 8.1 |
4 | Kommunikation zwischen Computern unter Windows 10 oder höher |
StructureSize
Größe dieser Struktur in Byte. Dieses Element sollte auf Größe(FILE_REMOTE_PROTOCOL_INFORMATION) festgelegt werden.
Protocol
Einer der WNNC_NET_XXX Remoteprotokollnetzwerktypen, die in ntifs.hdefiniert sind.
ProtocolMajorVersion
Hauptnummer des Remoteprotokolls.
ProtocolMinorVersion
Nebennummer des Remoteprotokolls.
ProtocolRevision
Revision des Remoteprotokolls.
Reserved
Sollte auf Null festgelegt werden. Verwenden Sie dieses Mitglied nicht.
Flags
Remoteprotokollinformationen. Dieses Element kann auf Null oder mehr der folgenden Flags festgelegt werden.
Wert | Bedeutung |
---|---|
REMOTE_PROTOCOL_FLAG_LOOPBACK | Das Remoteprotokoll verwendet einen Loopback. |
REMOTE_PROTOCOL_FLAG_OFFLINE | Das Remoteprotokoll verwendet einen Offlinecache. |
REMOTE_PROTOCOL_INFO_FLAG_PERSISTENT_HANDLE | Das Remoteprotokoll verwendet ein persistentes Handle. Dieses Flag wird nur unterstützt, wenn StructureVersion 2 oder höher ist. |
REMOTE_PROTOCOL_INFO_FLAG_PRIVACY | Das Remoteprotokoll verwendet Datenschutz. Dieses Flag wird nur unterstützt, wenn StructureVersion 2 oder höher ist. |
REMOTE_PROTOCOL_INFO_FLAG_INTEGRITY | Das Remoteprotokoll verwendet Integrität, sodass die Daten signiert sind. Dieses Flag wird nur unterstützt, wenn StructureVersion 2 oder höher ist. |
REMOTE_PROTOCOL_INFO_FLAG_MUTUAL_AUTH | Das Remoteprotokoll verwendet die gegenseitige Authentifizierung mithilfe von Kerberos. Dieses Flag wird nur unterstützt, wenn StructureVersion 2 oder höher ist. |
GenericReserved
Protokollgenerika-Informationsstruktur.
GenericReserved.Reserved[8]
Sollte auf Null festgelegt werden. Verwenden Sie dieses Mitglied nicht.
ProtocolSpecificReserved
ProtocolSpecificReserved.Reserved[16]
ProtocolSpecific
ProtocolSpecific.Smb2
ProtocolSpecific.Smb2.Server
ProtocolSpecific.Smb2.Server.Capabilities
ProtocolSpecific.Smb2.Share
ProtocolSpecific.Smb2.Share.Capabilities
ProtocolSpecific.Smb2.Share.ShareFlags
ProtocolSpecific.Smb2.Share.CachingFlags
ProtocolSpecific.Smb2.Share.ShareType
ProtocolSpecific.Smb2.Share.Reserved0[3]
ProtocolSpecific.Smb2.Share.Reserved1
ProtocolSpecific.Reserved[16]
Anforderungen
Anforderung | Wert |
---|---|
Header- | ntifs.h |