• RSS
  • Twitter
  • FaceBook

Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

MprAdminConnectionEnum

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA 2006 Misc.] >> ISA 2006 Programming >> MprAdminConnectionEnum Page: [1]
Login
Message << Older Topic   Newer Topic >>
MprAdminConnectionEnum - 12.Oct.2009 12:44:20 PM   
dapinheiro

 

Posts: 7
Joined: 6.Oct.2009
Status: offline
Hello,

I'm using MprAdminConnectionEnum, with the one user everything goes smooth and I'm able to remove it from quarantine.
But now I'm testing with 2 users, the function returns 2 EntriesRead but buffer only returns details for 1 entries.

What can i do to solve this ?

I'm using c#

PlatformInvokeConnectionEnum.RAS_CONNECTION_0[] buffer0 = new PlatformInvokeConnectionEnum.RAS_CONNECTION_0[2];

uint retConEnum = PlatformInvokeConnectionEnum.MprAdminConnectionEnum(rasHandle, 0, ref buffer0, -1, ref EntriesRead, ref TotalEntries, ref ResumeHandle);

class PlatformInvokeConnectionEnum
{
[DllImport("Mprapi.dll")]
public static extern uint MprAdminConnectionEnum
(
IntPtr hRasServer,
uint dwLevel,
ref RAS_CONNECTION_0[] lplpbBuffer,
int dwPrefMaxLen,
ref IntPtr lpdwEntriesRead,
ref IntPtr lpdwTotalEntries,
ref ulong lpdwResumeHandle
);
Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA 2006 Misc.] >> ISA 2006 Programming >> MprAdminConnectionEnum Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts