1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #include "webrtc/modules/video_capture/windows/device_info_mf.h"
12
13 namespace webrtc {
14 namespace videocapturemodule {
15
DeviceInfoMF(const int32_t id)16 DeviceInfoMF::DeviceInfoMF(const int32_t id) : DeviceInfoImpl(id) {
17 }
18
~DeviceInfoMF()19 DeviceInfoMF::~DeviceInfoMF() {
20 }
21
Init()22 int32_t DeviceInfoMF::Init() {
23 return -1;
24 }
25
NumberOfDevices()26 uint32_t DeviceInfoMF::NumberOfDevices() {
27 return 0;
28 }
29
GetDeviceName(uint32_t deviceNumber,char * deviceNameUTF8,uint32_t deviceNameLength,char * deviceUniqueIdUTF8,uint32_t deviceUniqueIdUTF8Length,char * productUniqueIdUTF8,uint32_t productUniqueIdUTF8Length)30 int32_t DeviceInfoMF::GetDeviceName(
31 uint32_t deviceNumber,
32 char* deviceNameUTF8,
33 uint32_t deviceNameLength,
34 char* deviceUniqueIdUTF8,
35 uint32_t deviceUniqueIdUTF8Length,
36 char* productUniqueIdUTF8,
37 uint32_t productUniqueIdUTF8Length) {
38 return -1;
39 }
40
DisplayCaptureSettingsDialogBox(const char * deviceUniqueIdUTF8,const char * dialogTitleUTF8,void * parentWindow,uint32_t positionX,uint32_t positionY)41 int32_t DeviceInfoMF::DisplayCaptureSettingsDialogBox(
42 const char* deviceUniqueIdUTF8,
43 const char* dialogTitleUTF8,
44 void* parentWindow,
45 uint32_t positionX,
46 uint32_t positionY) {
47 return -1;
48 }
49
50 } // namespace videocapturemodule
51 } // namespace webrtc
52