WNetCachePassword.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

WNetCachePassword (MPR.@)

SYNOPSIS

DWORD WNetCachePassword
 (
  LPSTR pbResource,
  WORD  cbResource,
  LPSTR pbPassword,
  WORD  cbPassword,
  BYTE  nType,
  WORD  x
 )

PARAMS

pbResource [In] Name of workgroup,computer,or resource.

cbResource [In] Size of name.

pbPassword [In] Buffer containing password.

cbPassword [In] Size of password.

nType [In] Type of password to cache.

DESCRIPTION

WNetCachePassword [MPR.@] Saves password in cache.

NOTES

Only the parameter count is verified.

---- everything below this line might be wrong (js) -----.

RETURNS

Success: WN_SUCCESS

Failure: WN_ACCESS_DENIED, WN_BAD_PASSWORD, WN_BADVALUE, WN_NET_ERROR, WN_NOT_SUPPORTED, WN_OUT_OF_MEMORY

IMPLEMENTATION

Defined in "winnetwk.h".

Implemented in "dlls/mpr/pwcache.c".

Debug channel "mpr".