EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

WMT_CREDENTIAL_FLAGS enumeration

The WMT_CREDENTIAL_FLAGS enumeration type contains values used in the IWMCredentialCallback::AcquireCredentials method.

Syntax


enum WMT_CREDENTIAL_FLAGS {  WMT_CREDENTIAL_SAVE        = 0x00000001, 
  WMT_CREDENTIAL_DONT_CACHE  = 0x00000002, 
  WMT_CREDENTIAL_CLEAR_TEXT  = 0x00000004, 
  WMT_CREDENTIAL_PROXY       = 0x00000008, 
  WMT_CREDENTIAL_ENCRYPT     = 0x00000010 

};

Constants

WMT_CREDENTIAL_SAVE

The application can set this flag to indicate that the caller should save the credentials in a persistent manner.

WMT_CREDENTIAL_DONT_CACHE

The application can set this flag to indicate that the caller should not cache the credentials in memory.

WMT_CREDENTIAL_CLEAR_TEXT

If this flag is set when the AcquireCredentials method is called, it indicates that the credentials will be sent over the network unencrypted. Applications should not set this flag.

WMT_CREDENTIAL_PROXY

If this flag is set when the AcquireCredentials method is called, it indicates that the credentials are for a proxy server. Applications should not set this flag.

WMT_CREDENTIAL_ENCRYPT

If this flag is set when the AcquireCredentials method is called, it indicates that the caller can handle encrypted credentials. When this flag is set, the application has the option of encrypting the credentials. To encrypt the credentials, use the CryptProtectData function, which is described in the Platform SDK documentation. The application can also return the credentials in plain text. In that case, the caller automatically encrypts the credentials, unless the WMT_CREDENTIAL_CLEAR_TEXT flag was set when the AcquireCredentials method was called.

If the application encrypts the credentials, it must set the WMT_CREDENTIAL_ENCRYPT flag before the method returns. If the application returns the credentials in clear text, clear this flag before the method returns.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Enumeration Types

 

 

Contribuições da comunidade

ADICIONAR
Mostrar:
© 2014 Microsoft