共用方式為


SSPI 句柄

SSPI 會使用下列句柄類型和這些句柄的指標:

  • SecHandlePSecHandle
  • CredHandlePCredHandle
  • CtxtHandlePCtxtHandle

這些句柄類型和這些句柄類型的指標定義如下。

typedef struct _SecHandle {
  ULONG_PTR       dwLower;
  ULONG_PTR       dwUpper;
} SecHandle, * PSecHandle;

typedef SecHandle    CredHandle;
typedef PSecHandle   PCredHandle;

typedef SecHandle    CtxtHandle;
typedef PSecHandle   PCtxtHandle;