PPGetPasswordStatus

This function is used to query a password provider about the status of its password. The attributes an network provider can report are if it is on/off (enabled/disabled), if it requires typing in the old password to change it, and if the storage type is local or remote.

DWORD PPGetPasswordStatus(
DWORD     nIndex
    );
 
nIndex
Can be one of the following:
PS_ONOFF Requests on/off status of password.
PS_HASOLDPWD Requests "old password" status of password.
PS_STORAGETYPE Requests storage type of password.

nIndex: Valid return bits:
PS_ONOFF PS_ONOFF_ON, PS_ONOFF_OFF
PS_HASOLDPWD PS_HASOLDPWD_ON, PS_HASOLDPWD_OFF
PS_STORAGETYPE PS_STORAGETYPE_LOCAL, PS_STORAGETYPE_NETWORK