Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Api function for Terminal Service
Message
From
21/07/2004 14:29:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Api function for Terminal Service
Miscellaneous
Thread ID:
00926691
Message ID:
00926691
Views:
139
Hello all,

I would like to use the WTSEnumerateSessions function that retrieves a list of sessions on a specified terminal server.
The problem that I have no experience using api functions.

I found an example in visual basic :
Private Declare Function WTSEnumerateSessions _
    Lib "wtsapi32.dll" Alias "WTSEnumerateSessionsA" ( _
    ByVal hServer As Long, ByVal Reserved As Long, _
    ByVal Version As Long, ByRef ppSessionInfo As Long, _
    ByRef pCount As Long _
    ) As Long
How can Declare it in visual foxpro?
I do not know how to use the Byref in Foxpro

Anyhelp is greatly appreciated.
Thanks,
Sergio
Next
Reply
Map
View

Click here to load this message in the networking platform