VS2012: 'rassapi.h' - No such file or directory

308 Views Asked by At

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?

1

There are 1 best solutions below

4
On

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    
)