|
-
Jan 4th, 2002, 06:49 AM
#1
Thread Starter
Lively Member
Using RasEnumConnections
Could someone please assist me with this code, I have tried to create this from the help file and even though it compliles correctly, the RasEnumConnections API call will not return the correct results. My code is as follows.
{
int ReturnCode =0;
unsigned long *lpcb =0, *lpcConnections =0;
unsigned long *my_hRasConn =0;
RASCONN *lpRasConn[255];
lpRasConn[0]->dwSize = sizeof(RASCONN);
ReturnCode = RasEnumConnections(lpRasConn[0], lpcb, lpcConnections);
if(ReturnCode == ERROR_SUCCESS)
{
RasHangUp(lpRasConn);
}
my_hRasConn = my_hRasConn;
}
Thankyou
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|