Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetwindowThreadProcessID
Message
De
23/07/2003 12:38:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
GetwindowThreadProcessID
Divers
Thread ID:
00812831
Message ID:
00812831
Vues:
51
Estou utlizando esta função para que me retorne o numero do PID, mas este so esta retornando um numero negativo. O que esta fazendo de errado ? Se alguem puder me ajudar, agradeço.

Declare INTEGER GetWindowThreadProcessId IN win32api INTEGER hwnd, INTEGER @lpdwProcessId

test_thread_id = GetWindowThreadProcessId(test_hwnd, @test_pid)

Onde,
test_hwnd = GetWindow(test_hwnd, GW_HWNDNEXT)

desde ja agradeço.
Répondre
Fil
Voir

Click here to load this message in the networking platform