1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_INSTALL_VERIFICATION_WIN_LOADED_MODULES_SNAPSHOT_H_
6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_LOADED_MODULES_SNAPSHOT_H_
12 // Takes a snapshot of the modules loaded in the current process. The returned
13 // HMODULEs are not add-ref'd, so they should not be closed and may be
14 // invalidated at any time (should a module be unloaded).
15 bool GetLoadedModulesSnapshot(std::vector
<HMODULE
>* snapshot
);
17 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_LOADED_MODULES_SNAPSHOT_H_