GetSChannelInterface Function

The GetSChannelInterface function returns a dispatch table that indicates functions implemented by the provider. This is the only function that the provider must export.

Syntax

NTSTATUS WINAPI GetSChannelInterface(
  __in   LPCWSTR pszProviderName,
  __out  NCRYPT_SSL_FUNCTION_TABLE **ppFunctionTable,
  __in   DWORD dwFlags
);

Parameters

  • pszProviderName [in]
    This parameter is reserved for future use.

  • ppFunctionTable [out]
    A pointer to an NCRYPT_SSL_FUNCTION_TABLE structure that receives the dispatch table that contains the functions implemented by the provider.

  • dwFlags [in]
    This parameter is reserved for future use.

Return Value

If the function succeeds, it returns STATUS_SUCCESS. If the function fails, it returns a nonzero error code as defined by the SSL provider implementation.

Remarks

The protocol provider typically implements the dispatch table as a static array. The router never attempts to free the dispatch table.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Sslprovider.h

DLL

Ncrypt.dll

See Also

NCRYPT_SSL_FUNCTION_TABLE

 

 

Send comments about this topic to Microsoft

Build date: 3/9/2010