One project, that we are trying to port to VS2012 includes <rassapi.h>
which is not part of SDK 8.0. Well, I found out that <mprapi.h>
contains some defines, but some functions like RasAdminGetUserAccountServer
and RasAdminUserSetInfo
are still missing. Do you know how to workaround this?
Asked
Active
Viewed 294 times
0

alex555
- 1,676
- 4
- 27
- 45
-
are you using .Net framework 4.5 ? – Akshay Joy May 07 '13 at 10:36
-
check this Link you will get some information http://corelibrary.sourceforge.net/doxygen/Mprapi_8h.html – Akshay Joy May 07 '13 at 10:44
1 Answers
0
Try this is function similar to ur Method RasAdminUserSetInfo
DWORD APIENTRY MprAdminUserSetInfo ( IN const WCHAR * lpszServer,
IN const WCHAR * lpszUser,
IN DWORD dwLevel,
IN const LPBYTE lpbBuffer
)

Akshay Joy
- 1,765
- 1
- 14
- 23
-
Thank you! Also I found this [fuction comparison](http://msdn.microsoft.com/en-us/library/windows/desktop/aa374030%28v=vs.85%29.aspx), but I cannot find `RasAdminGetUserAccountServer` :( – alex555 May 07 '13 at 10:49
-
can u check this. I am not good at C, http://search.cpan.org/~lmasara/Win32-MprApi-0.02/MprApi.pm – Akshay Joy May 07 '13 at 10:51
-
check this Also http://msdn.microsoft.com/en-us/library/windows/desktop/aa374594(v=vs.85).aspx – Akshay Joy May 07 '13 at 10:51
-
Well, according to this [description](http://msdn.microsoft.com/en-us/library/windows/desktop/aa446727%28v=vs.85%29.aspx) it seems to be `MprAdminGetPDCServer` – alex555 May 07 '13 at 12:05