Scroll to navigation

WNetCachePassword(3w) Wine API WNetCachePassword(3w)

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

Declared in "winnetwk.h".
Implemented in "dlls/mpr/pwcache.c".
Debug channel "mpr".
Oct 2012 Wine API