IMFNetCredentialManager::SetGood method (mfidl.h)

Specifies whether the user's credentials succeeded in the authentication challenge. The network source calls this method to informs the application whether the user's credentials were authenticated.

Syntax

HRESULT SetGood(
  [in] IMFNetCredential *pCred,
  [in] BOOL             fGood
);

Parameters

[in] pCred

Pointer to the IMFNetCredential interface.

[in] fGood

Boolean value. The value is TRUE if the credentials succeeded in the authentication challenge. Otherwise, the value is FALSE.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFNetCredentialManager