다음을 통해 공유


IUpdateEndpointAuthProvider::GetPreferredEndpointTokenType 메서드

서비스의 엔드포인트에 대한 기본 인증 토큰 유형을 반환합니다.

구문

HRESULT GetPreferredEndpointTokenType(
  [in]  GUID               serviceId,
  [in]  UpdateEndpointType endpointType,
  [in]  ULONG              ulRequestedTypes,
  [out] ULONG              *pulPreferredTokenTypes
);

매개 변수

serviceId [in]

업데이트할 서비스를 식별합니다.

endpointType [in]

서비스에 연결하는 데 필요한 엔드포인트 유형을 식별합니다.

ulRequestedTypes [in]

엔드포인트에서 지원하는 ORed 토큰 집합을 식별합니다.

pulPreferredTokenTypes [out]

기본 설정되는 인증 토큰 형식의 ORed 집합을 지정합니다. 인증 토큰이 필요하지 않음을 나타내려면 0으로 설정합니다.

반환 값

성공하면 S_OK가 반환됩니다. 그렇지 않으면 COM 또는 Windows 오류 코드를 반환합니다.

설명

이 메서드가 반환되면 WUA는 기본 설정 형식에서 토큰 형식을 선택하고 GetEndpointToken 메서드의 tokenType 매개 변수에 전달합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트
Windows XP, Windows 2000 Professional SP3 [데스크톱 앱만 해당]
지원되는 최소 서버
Windows Server 2003, Windows 2000 Server SP3 [데스크톱 앱만 해당]
헤더
UpdateEndpointAuth.h
IDL
UpdateEndpointAuth.idl
라이브러리
UpdateEndpointAuth.lib
DLL
UpdateEndpointAuth.dll

참고 항목

IUpdateEndpointAuthProvider

GetEndpointToken