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
The size of the DPSECURITYDESC structure, dwsize = sizeof(DPSECURITYDESC).
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.
CryptoAPI service provider type. Pass zero to use the default type, PROV_RSA_FULL.
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