forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.cpp
More file actions
50 lines (39 loc) · 1.03 KB
/
variables.cpp
File metadata and controls
50 lines (39 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ============================================================
//
// Variables.cpp
//
//
// Implements the Variables class
//
// ============================================================
#include "variables.hpp"
#include "ex.h"
namespace BINDER_SPACE
{
Variables *g_BinderVariables = NULL;
Variables::Variables()
{
// Nothing to do here
}
Variables::~Variables()
{
// Nothing to do here
}
HRESULT Variables::Init()
{
HRESULT hr = S_OK;
EX_TRY
{
// AssemblyBinder string constants
httpURLPrefix.SetLiteral(W("http://"));
// AssemblyName string constants
cultureNeutral.SetLiteral(W("neutral"));
mscorlib.SetLiteral(CoreLibName_W);
}
EX_CATCH_HRESULT(hr);
return hr;
}
};