Platform SDK: DirectX

DPSECURITYDESC

The DPSECURITYDESC structure 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 0.
lpszSSPIProvider, lpszSSPIProviderA
Pointer to a Unicode or ANSI string describing the Security Support Provider Interface (SSPI) package to use for authenticated logons. 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 0 to use the default type, PROV_RSA_FULL.
dwEncryptionAlgorithm
Encryption algorithm to use. DirectPlay only supports stream ciphers. Pass 0 to use the default, the CALG_RC4 stream cipher.

Remarks

DirectPlay does not support block encryption.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.

See Also

IDirectPlay4::SecureOpen