; --------------------------------------------------------------------------------------------------
;                          security.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF SECURITY_INC
SECURITY_INC equ <1>

AcceptSecurityContext PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

AcquireCredentialsHandleA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AcquireCredentialsHandle equ <AcquireCredentialsHandleA>
ENDIF

AcquireCredentialsHandleW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AcquireCredentialsHandle equ <AcquireCredentialsHandleW>
ENDIF

AddSecurityPackageA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  AddSecurityPackage equ <AddSecurityPackageA>
ENDIF

AddSecurityPackageW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  AddSecurityPackage equ <AddSecurityPackageW>
ENDIF

ApplyControlToken PROTO STDCALL :DWORD,:DWORD
CompleteAuthToken PROTO STDCALL :DWORD,:DWORD
DecryptMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
DeleteSecurityContext PROTO STDCALL :DWORD

DeleteSecurityPackageA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  DeleteSecurityPackage equ <DeleteSecurityPackageA>
ENDIF

DeleteSecurityPackageW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  DeleteSecurityPackage equ <DeleteSecurityPackageW>
ENDIF

EncryptMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

EnumerateSecurityPackagesA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  EnumerateSecurityPackages equ <EnumerateSecurityPackagesA>
ENDIF

EnumerateSecurityPackagesW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  EnumerateSecurityPackages equ <EnumerateSecurityPackagesW>
ENDIF

ExportSecurityContext PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FreeContextBuffer PROTO STDCALL :DWORD
FreeCredentialsHandle PROTO STDCALL :DWORD
ImpersonateSecurityContext PROTO STDCALL :DWORD

ImportSecurityContextA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  ImportSecurityContext equ <ImportSecurityContextA>
ENDIF

ImportSecurityContextW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  ImportSecurityContext equ <ImportSecurityContextW>
ENDIF

InitSecurityInterfaceA PROTO STDCALL
IFNDEF __UNICODE__
  InitSecurityInterface equ <InitSecurityInterfaceA>
ENDIF

InitSecurityInterfaceW PROTO STDCALL
IFDEF __UNICODE__
  InitSecurityInterface equ <InitSecurityInterfaceW>
ENDIF

InitializeSecurityContextA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  InitializeSecurityContext equ <InitializeSecurityContextA>
ENDIF

InitializeSecurityContextW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  InitializeSecurityContext equ <InitializeSecurityContextW>
ENDIF

MakeSignature PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

QueryContextAttributesA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  QueryContextAttributes equ <QueryContextAttributesA>
ENDIF

QueryContextAttributesW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  QueryContextAttributes equ <QueryContextAttributesW>
ENDIF

QueryCredentialsAttributesA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  QueryCredentialsAttributes equ <QueryCredentialsAttributesA>
ENDIF

QueryCredentialsAttributesW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  QueryCredentialsAttributes equ <QueryCredentialsAttributesW>
ENDIF

QuerySecurityContextToken PROTO STDCALL :DWORD,:DWORD

QuerySecurityPackageInfoA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  QuerySecurityPackageInfo equ <QuerySecurityPackageInfoA>
ENDIF

QuerySecurityPackageInfoW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  QuerySecurityPackageInfo equ <QuerySecurityPackageInfoW>
ENDIF

RevertSecurityContext PROTO STDCALL :DWORD
SealMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
UnsealMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
VerifySignature PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

ELSE
  echo -------------------------------------------
  echo WARNING duplicate include file security.inc
  echo -------------------------------------------
ENDIF
