Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Api function for Terminal Service
Message
De
21/07/2004 14:29:53
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Api function for Terminal Service
Divers
Thread ID:
00926691
Message ID:
00926691
Vues:
138
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform