Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3700)

Unified Diff: base/win/resource_util.h

Issue 11778073: Add support for getting the 256x256 app icon on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/win/resource_util.cc » ('j') | base/win/resource_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | base/win/resource_util.cc » ('j') | base/win/resource_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698