DPSECURITYDESC

Describes the security properties of a DirectPlay session instance.

typedef struct {

DWORD dwSize;

DWORD dwFlags;

union {

LPWSTR lpszSSPIProvider;

LPSTR lpszSSPIProviderA;

};

union {

LPWSTR lpszCAPIProvider;

LPSTR lpszCAPIProviderA;

};

DWORD dwCAPIProviderType;

DWORD dwEncryptionAlgorithm;

} DPSECURITYDESC, FAR *LPDPSECURITYDESC;

Members

dwSize

The size of the DPSECURITYDESC structure, dwsize = sizeof(DPSECURITYDESC).

dwFlags

Not used. Must be zero.

lpszSSPIProvider, lpszSSPIProviderA

Pointer to a Unicode or ANSI string describing the Security Support Provider Interface (SSPI) package to use for authenticated logins. Pass NULL to use the default, the NTLM (NT LAN Manager) security provider.

lpszCAPIProvider, lpszCAPIProviderA

Pointer to a Unicode or ANSI string describing the CryptoAPI package to use for cryptography services. Pass NULL to use the default, the Microsoft RSA Base Cryptographic Provider v. 1.0.

dwCAPIProviderType

CryptoAPI service provider type. Pass zero to use the default type, PROV_RSA_FULL.

dwEncryptionAlgorithm

Encryption algorithm to use. DirectPlay only supports stream ciphers. Pass zero to use the default, the CALG_RC4 stream cipher.

Remarks

For more information about the CryptoAPI, see the CrpytoAPI and Cryptography topics at http://www.microsoft.com. The Microsoft RSA Base Cryptographic Provider is supplied by Microsoft and is included with the Windows 95 and Windows NT operating systems.

DirectPlay does not support block encryption.

See Also

IDirectPlay3::SecureOpen