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". https://source.winehq.org/source/include/winnetwk.h

Implemented in "dlls/mpr/pwcache.c". https://source.winehq.org/source/dlls/mpr/pwcache.c

Debug channel "mpr".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.