IPStore::SetProvParam method

[Protected Storage (Pstore) is available for use in Windows Server 2003 and Windows XP. It is only available for read-only operations in Windows Server 2008 and Windows Vista, but may be unavailable in subsequent versions. Pstore uses an older implementation of data protection. Developers are strongly encouraged to take advantage of the stronger data protection provided by the CryptProtectData and CryptUnprotectData functions.]

Sets the specified parameter information.

Syntax

HRESULT SetProvParam(
  [in] DWORD dwParam,
  [in] DWORD cbData,
       BYTE  *pbData,
       DWORD *dwFlags
);

Parameters

dwParam [in]

Contains PST_PP_FLUSH_PW_CACHE to flush the user password cache.

cbData [in]

The length of the password in the buffer.

pbData

A pointer to a buffer that contains the user's password. This must be set to NULL.

dwFlags

Reserved: Must be set to zero.

Return value

The return value is an HRESULT value. A value of PST_E_OK indicates the function was successful.

Requirements

Requirement Value
Header
Pstore.h
DLL
Pstorec.dll

See also

IPStore