| Index: base/win/resource_util.h
|
| ===================================================================
|
| --- base/win/resource_util.h (revision 176351)
|
| +++ base/win/resource_util.h (working copy)
|
| @@ -16,6 +16,13 @@
|
| namespace base {
|
| namespace win {
|
|
|
| +// Function for getting a data resource of the specified |resource_type| from
|
| +// a dll. Some resources are optional, especially in unit tests, so this
|
| +// returns false but doesn't raise an error if the resource can't be loaded.
|
| +bool BASE_EXPORT GetResourceFromModule(HMODULE module, int resource_id,
|
| + LPCTSTR resource_type, void** data,
|
| + size_t* length);
|
| +
|
| // Function for getting a data resource (BINDATA) from a dll. Some
|
| // resources are optional, especially in unit tests, so this returns false
|
| // but doesn't raise an error if the resource can't be loaded.
|
|
|