windows-nt/Source/XPSP1/NT/inetsrv/iis/svcs/wp/inc/clustdi.h
2020-09-26 16:20:57 +08:00

67 lines
1.1 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
clustdi.h
Abstract:
TDI definitions for the Cluster Network Protocol suite.
Author:
Mike Massa (mikemas) 21-Feb-1997
Environment:
User Mode.
Revision History:
--*/
#ifndef _CLUSTDI_INCLUDED
#define _CLUSTDI_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#define TDI_ADDRESS_TYPE_CLUSTER ((USHORT) 24)
#include <packon.h>
typedef struct _TDI_ADDRESS_CLUSTER {
USHORT Port;
ULONG Node;
ULONG ReservedMBZ;
} TDI_ADDRESS_CLUSTER, *PTDI_ADDRESS_CLUSTER;
#define TDI_ADDRESS_LENGTH_CLUSTER sizeof(TDI_ADDRESS_CLUSTER)
typedef struct _TA_ADDRESS_CLUSTER {
LONG TAAddressCount;
struct _AddrCluster {
USHORT AddressLength; // length in bytes of this address == 8
USHORT AddressType; // this will == TDI_ADDRESS_TYPE_CLUSTER
TDI_ADDRESS_CLUSTER Address[1];
} Address [1];
} TA_CLUSTER_ADDRESS, *PTA_CLUSTER_ADDRESS;
#include <packoff.h>
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // ifndef _CLUSTDI_INCLUDED