Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetwindowThreadProcessID
Message
From
23/07/2003 12:38:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
GetwindowThreadProcessID
Miscellaneous
Thread ID:
00812831
Message ID:
00812831
Views:
50
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.
Reply
Map
View

Click here to load this message in the networking platform