Share via


struttura HTTP_SERVICE_CONFIG_URLACL_QUERY (http.h)

La struttura HTTP_SERVICE_CONFIG_URLACL_QUERY viene usata per specificare un determinato record di prenotazione per eseguire query nell'archivio prenotazioni dello spazio dei nomi URL. Viene passato alla funzione HttpQueryServiceConfiguration usando il parametro pInputConfigInfo quando il parametro ConfigId è uguale a HttpServiceConfigUrlAclInfo.

Sintassi

typedef struct _HTTP_SERVICE_CONFIG_URLACL_QUERY {
  HTTP_SERVICE_CONFIG_QUERY_TYPE QueryDesc;
  HTTP_SERVICE_CONFIG_URLACL_KEY KeyDesc;
  DWORD                          dwToken;
} HTTP_SERVICE_CONFIG_URLACL_QUERY, *PHTTP_SERVICE_CONFIG_URLACL_QUERY;

Members

QueryDesc

Uno dei valori seguenti dell'enumerazione HTTP_SERVICE_CONFIG_QUERY_TYPE .

HttpServiceConfigQueryExact

Restituisce un singolo record.

HttpServiceConfigQueryNext

Restituisce una sequenza di record in una sequenza di chiamate, controllata dal parametro dwToken .

KeyDesc

Se il parametro QueryDesc è uguale a HttpServiceConfigQueryExact, KeyDesc deve contenere una struttura HTTP_SERVICE_CONFIG_URLACL_KEY che identifica il record di prenotazione sottoposto a query.

Se il parametro QueryDesc è uguale a HttpServiceConfigQueryNext, KeyDesc viene ignorato.

dwToken

Se il parametro QueryDesc è uguale a HttpServiceConfigQueryNext, dwToken deve essere uguale a zero nella prima chiamata alla funzione HttpQueryServiceConfiguration , una alla seconda chiamata, due alla terza chiamata e così via fino a quando non vengono restituiti tutti i record di prenotazione, a quel punto HttpQueryServiceConfiguration restituisce ERROR_NO_MORE_ITEMS.

Se il parametro QueryDesc è uguale a HttpServiceConfigQueryExact, dwToken viene ignorato.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista, Windows XP con SP2 [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Intestazione http.h

Vedi anche

HTTP_SERVICE_CONFIG_QUERY_TYPE

HTTP_SERVICE_CONFIG_URLACL_KEY

HTTP_SERVICE_CONFIG_URLACL_SET

HttpQueryServiceConfiguration