 |
FindResource Add comment W32 Constants Translate this page |
 |
 |
|
The FindResource function determines the location of a resource with the specified type and name in the specified module. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HRSRC FindResource(
HMODULE hModule,
LPCTSTR lpName,
LPCTSTR lpType
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER FindResource IN kernel32;
INTEGER hModule,;
INTEGER lpName,;
INTEGER lpType
|
 |
 |
 |
| Parameters: |
 |
hModule
[in] Handle to the module whose executable file contains the resource.
lpName
[in] Specifies the name of the resource.
lpType
[in] Specifies the resource type. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the specified resource"s information block. To obtain a handle to the resource, pass this handle to the LoadResource function. |
 |
 |
| My comment: |
 |
For hModule a value of NULL specifies the module handle associated with the image file that the operating system used to create the current process.
To specify a language, use the FindResourceEx function. |
 |
 |
| Word Index links for the FindResource : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-05-16 10:25:52 | | Modified: | 2003-05-16 10:28:44 | Visited in last 7 days: 239 |