IMFNetCredential::SetPassword method (mfidl.h)
Sets the password.
Syntax
HRESULT SetPassword(
[in] BYTE *pbData,
[in] DWORD cbData,
[in] BOOL fDataIsEncrypted
);
Parameters
[in] pbData
Pointer to a buffer that contains the password. If fDataIsEncrypted is FALSE, the buffer is a wide-character string. Otherwise, the buffer contains encrypted data.
[in] cbData
Size of pbData, in bytes. If fDataIsEncrypted is FALSE, the size includes the terminating null character.
[in] fDataIsEncrypted
If TRUE, the password is encrypted. Otherwise, the password is not encrypted.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
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 |