NAME

WNetGetCachedPassword  (MPR.@)

SYNOPSIS

 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.

DESCRIPTION

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 "include/winnetwk.h". gitlab.winehq.org/wine/wine/blob/master/include/winnetwk.h

Implemented in "dlls/mpr/pwcache.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.