.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH WNetGetCachedPassword 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBWNetGetCachedPassword\fR (MPR.@) .SH SYNOPSIS DWORD WNetGetCachedPassword ( LPSTR \fIpbResource\fR, WORD \fIcbResource\fR, LPSTR \fIpbPassword\fR, LPWORD \fIpcbPassword\fR, BYTE \fInType\fR ) .SH PARAMS \fIpbResource\fR \fB[In]\fR Name of workgroup,computer,or resource. .PP \fIcbResource\fR \fB[In]\fR Size of name. .PP \fIpbPassword\fR \fB[Out]\fR Buffer to receive password. .PP \fIpcbPassword\fR \fB[Out]\fR Receives size of password. .PP \fInType\fR \fB[In]\fR Type of password to retrieve. .PP .SH DESCRIPTION .PP WNetGetCachedPassword [\fBMPR\fR.@] Retrieves password from cache. .SH NOTES .PP the stub seems to be wrong: arg1: pointer 0x40xxxxxx -> (no string) arg2: len \fB36\fR arg3: pointer 0x40xxxxxx -> (no string) arg4: pointer 0x40xxxxxx -> 0xc8 arg5: type? \fB4.\fR .PP \fB-\fR\fB---\fR everything below this line might be wrong (js) \fB-----.\fR .SH RETURNS .PP \fBSuccess:\fR \fBWN_SUCCESS\fR .PP \fBFailure:\fR \fBWN_ACCESS_DENIED\fR, \fBWN_BAD_PASSWORD\fR, \fBWN_BAD_VALUE\fR, \fBWN_NET_ERROR\fR, \fBWN_NOT_SUPPORTED\fR, \fBWN_OUT_OF_MEMORY\fR .SH IMPLEMENTATION .PP Declared in \fB"winnetwk.h"\fR. .PP Implemented in \fB"dlls/mpr/pwcache.c"\fR. .PP Debug channel \fB"mpr"\fR.