VPN Quarantine on ISA Server
Hi, not sure if this is the best forum to post in, so appologies in advance.
Admittedly, I am very new to alot of this, (API Calls, .net ....)
I am attempting to use the MprAdminConnectionRemoveQuarantine function in vpnplgin.dll provided with ISA 2006.
MSDN tells me that the function is defined as:
DWORD MprAdminConnectionRemoveQuarantine(
HANDLE hRasServer,
HANDLE hRasConnection,
BOOL fIsIpAddress );
where hRasServer can be found with MprAdminServerConnect() in the RRAS admin dll, and hRasConnection is either a cconnectionb handle or a dword IP address.
I can get a valid server connection handle (I think), however MprAdminConnectionRemoveQuarantine returns a value of 5. I'm not sure what that means.
Does it mean that either the server handle or connection handle/ip ar invalid, OR....
is it ERROR_ACCESS_DENIED.
Unfortunatly, so far I've had little luck finding much information online, so I'd be very greatful for any help/pointers..
Thanks for your time.