WNetGetCachedPassword3w
Usage
DWORD WNetGetCachedPassword
(
LPSTR pbResource,
WORD cbResource,
LPSTR pbPassword,
LPWORD pcbPassword,
BYTE nType
)
Params
pbResource [In] Name of workgroup,computer,or resource.
cbResource [In] Size of name.
pbPassword [Out] Buffer to receive password.
pcbPassword [Out] Receives size of password.
nType [In] Type of password to retrieve.
Overview
WNetGetCachedPassword [MPR.@] Retrieves password from cache.
Notes
the stub seems to be wrong: arg1: pointer 0x40xxxxxx -> (no string) arg2: len 36 arg3: pointer 0x40xxxxxx -> (no string) arg4: pointer 0x40xxxxxx -> 0xc8 arg5: type? 4.
---- everything below this line might be wrong (js) -----.
Returns
Success: WN_SUCCESS
Failure: WN_ACCESS_DENIED, WN_BAD_PASSWORD, WN_BAD_VALUE, WN_NET_ERROR, WN_NOT_SUPPORTED, WN_OUT_OF_MEMORY
Implementation
Declared in "winnetwk.h".
Implemented in "dlls/mpr/pwcache.c".
Debug channel "mpr".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.