Método ICEnroll::p ut_UseExistingKeySet (xenroll.h)
[Esta propiedad ya no está disponible para su uso a partir de Windows Server 2008 y Windows Vista.]
La propiedad UseExistingKeySet establece o recupera un valor booleano que determina si se deben usar las claves existentes.
Esta propiedad se definió por primera vez en la interfaz ICEnroll .
Esta propiedad es de lectura y escritura.
HRESULT put_UseExistingKeySet(
BOOL fUseExistingKeys
);
fUseExistingKeys
None
Si se usa un conjunto de claves existente, la propiedad UseExistingKeySet debe establecerse en true.
La propiedad UseExistingKeySet afecta al comportamiento de los métodos siguientes:
BOOL bUEKS;
HRESULT hr;
// pEnroll is previously instantiated ICEnroll interface pointer
// get the UseExistingKeySet value
hr = pEnroll->get_UseExistingKeySet( &bUEKS );
if (FAILED( hr ))
printf("Failed get_UseExistingKeySet - %x\n", hr );
else
printf( "UseExistingKeySet: %d\n", bUEKS );
// set the UseExistingKeySet value
hr = pEnroll->put_UseExistingKeySet( TRUE );
if (FAILED( hr ))
printf("Failed put_UseExistingKeySet - %x\n", hr );
else
printf( "UseExistingKeySet set to TRUE\n" );
Requisito | Value |
---|---|
Cliente mínimo compatible | Windows XP [solo aplicaciones de escritorio] |
Servidor mínimo compatible | Windows Server 2003 [solo aplicaciones de escritorio] |
Plataforma de destino | Windows |
Encabezado | xenroll.h |
Library | Uuid.lib |
Archivo DLL | Xenroll.dll |