Commit 3289cf1a authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

mpr: Stub implementations of some mpr functions.

parent cc15fcc4
...@@ -40,12 +40,12 @@ ...@@ -40,12 +40,12 @@
@ stdcall NPSNotifyRegisterA(long ptr) @ stdcall NPSNotifyRegisterA(long ptr)
@ stdcall NPSSetCustomTextA(str) @ stdcall NPSSetCustomTextA(str)
@ stdcall NPSSetExtendedErrorA(long str) @ stdcall NPSSetExtendedErrorA(long str)
@ stub PwdChangePasswordA @ stdcall PwdChangePasswordA(str ptr long ptr)
@ stub PwdChangePasswordW @ stdcall PwdChangePasswordW(wstr ptr long ptr)
@ stub PwdGetPasswordStatusA @ stdcall PwdGetPasswordStatusA(str long ptr)
@ stub PwdGetPasswordStatusW @ stdcall PwdGetPasswordStatusW(wstr long ptr)
@ stub PwdSetPasswordStatusA @ stdcall PwdSetPasswordStatusA(str long long)
@ stub PwdSetPasswordStatusW @ stdcall PwdSetPasswordStatusW(wstr long long)
@ stdcall WNetAddConnection2A(ptr str str long) @ stdcall WNetAddConnection2A(ptr str str long)
@ stdcall WNetAddConnection2W(ptr wstr wstr long) @ stdcall WNetAddConnection2W(ptr wstr wstr long)
@ stdcall WNetAddConnection3A(long ptr str str long) @ stdcall WNetAddConnection3A(long ptr str str long)
......
...@@ -211,3 +211,71 @@ LPVOID WINAPI NPSNotifyGetContextA( NOTIFYCALLBACK pfNotifyCallBack ) ...@@ -211,3 +211,71 @@ LPVOID WINAPI NPSNotifyGetContextA( NOTIFYCALLBACK pfNotifyCallBack )
FIXME( "(%p): stub\n", pfNotifyCallBack ); FIXME( "(%p): stub\n", pfNotifyCallBack );
return NULL; return NULL;
} }
/*****************************************************************
* PwdGetPasswordStatusA [MPR.@]
*/
DWORD WINAPI PwdGetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, LPDWORD status )
{
FIXME("%s %ld %p\n", debugstr_a(lpProvider), dwIndex, status );
*status = 0;
return WN_SUCCESS;
}
/*****************************************************************
* PwdGetPasswordStatusA [MPR.@]
*/
DWORD WINAPI PwdGetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, LPDWORD status )
{
FIXME("%s %ld %p\n", debugstr_w(lpProvider), dwIndex, status );
*status = 0;
return WN_SUCCESS;
}
/*****************************************************************
* PwdSetPasswordStatusA [MPR.@]
*/
DWORD WINAPI PwdSetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, DWORD status )
{
FIXME("%s %ld %ld\n", debugstr_a(lpProvider), dwIndex, status );
return WN_SUCCESS;
}
/*****************************************************************
* PwdSetPasswordStatusW [MPR.@]
*/
DWORD WINAPI PwdSetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, DWORD status )
{
FIXME("%s %ld %ld\n", debugstr_w(lpProvider), dwIndex, status );
return WN_SUCCESS;
}
typedef struct _CHANGEPWDINFOA {
LPSTR lpUsername;
LPSTR lpPassword;
DWORD cbPassword;
} CHANGEPWDINFOA, *LPCHANGEPWDINFOA;
typedef struct _CHANGEPWDINFOW {
LPWSTR lpUsername;
LPWSTR lpPassword;
DWORD cbPassword;
} CHANGEPWDINFOW, *LPCHANGEPWDINFOW;
/*****************************************************************
* PwdChangePasswordA [MPR.@]
*/
DWORD WINAPI PwdChangePasswordA( LPCSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOA info )
{
FIXME("%s %p %lx %p\n", debugstr_a(lpProvider), hWnd, flags, info );
return WN_SUCCESS;
}
/*****************************************************************
* PwdChangePasswordA [MPR.@]
*/
DWORD WINAPI PwdChangePasswordW( LPCWSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOW info )
{
FIXME("%s %p %lx %p\n", debugstr_w(lpProvider), hWnd, flags, info );
return WN_SUCCESS;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment