 |
GetProcAddress Add comment W32 Constants Translate this page |
 |
 |
Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
FARPROC GetProcAddress(
HMODULE hModule, // handle to DLL module
LPCSTR lpProcName // function name
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetProcAddress IN kernel32;
INTEGER hModule,;
STRING lpProcName
|
 |
 |
 |
| Parameters: |
 |
hModule
[in] Handle to the DLL module that contains the function or variable.
lpProcName
[in] Pointer to a null-terminated string containing the function or variable name, or the function"s ordinal value. If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the address of the exported function or variable. |
 |
 |
| Word Index links for the GetProcAddress : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-03 12:00:00 | | Modified: | 2001-11-26 16:02:57 | Visited in last 7 days: 14 |