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

Side by Side Diff: media/base/win/mf_initializer.h

Issue 2735783002: Stop assuming anything about result of MFStartup() (Closed)
Patch Set: Mention "N" edition Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | media/base/win/mf_initializer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_WIN_MF_INITIALIZER_H_ 5 #ifndef MEDIA_BASE_WIN_MF_INITIALIZER_H_
6 #define MEDIA_BASE_WIN_MF_INITIALIZER_H_ 6 #define MEDIA_BASE_WIN_MF_INITIALIZER_H_
7 7
8 #include "media/base/win/mf_initializer_export.h" 8 #include "media/base/win/mf_initializer_export.h"
9 9
10 namespace media { 10 namespace media {
11 11
12 // Makes sure MFStartup() is called exactly once. 12 // Makes sure MFStartup() is called exactly once. Returns true if Media
13 MF_INITIALIZER_EXPORT void InitializeMediaFoundation(); 13 // Foundation is available and has been initialized successfully. Note that it
14 // is expected to return false on an "N" edition of Windows, see
15 // https://en.wikipedia.org/wiki/Windows_7_editions#Special-purpose_editions.
16 MF_INITIALIZER_EXPORT bool InitializeMediaFoundation();
14 17
15 } // namespace media 18 } // namespace media
16 19
17 #endif // MEDIA_BASE_WIN_MF_INITIALIZER_H_ 20 #endif // MEDIA_BASE_WIN_MF_INITIALIZER_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/win/mf_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698