WNetCachePassword(3w)

WNetCachePassword3w

Usage

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.

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.