OLD | NEW |
1 // Copyright 2007 Igor Tandetnik | 1 // Copyright 2007 Igor Tandetnik |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 // See the License for the specific language governing permissions and | 12 // See the License for the specific language governing permissions and |
13 // limitations under the License. | 13 // limitations under the License. |
14 | 14 |
15 #ifndef PASSTHROUGHAPP_PROTOCOLCF_INL | 15 #ifndef PASSTHROUGHAPP_PROTOCOLCF_INL |
16 #define PASSTHROUGHAPP_PROTOCOLCF_INL | 16 #define PASSTHROUGHAPP_PROTOCOLCF_INL |
17 | 17 |
18 #if _MSC_VER > 1000 | 18 #if _MSC_VER > 1000 |
19 #pragma once | 19 #pragma once |
20 #endif // _MSC_VER > 1000 | 20 #endif // _MSC_VER > 1000 |
21 | 21 |
22 #ifndef PASSTHROUGHAPP_PROTOCOLCF_H | 22 #ifndef PASSTHROUGHAPP_PROTOCOLCF_H |
23 #error ProtocolCF.inl requires ProtocolCF.h to be included first | 23 #error ProtocolCF.inl requires ProtocolCF.h to be included first |
24 #endif | 24 #endif |
25 | 25 |
26 #include "PluginPassthroughObject.h" | 26 #include "PassthroughObject.h" |
27 | 27 |
28 | 28 |
29 namespace PassthroughAPP | 29 namespace PassthroughAPP |
30 { | 30 { |
31 | 31 |
32 // ===== CComClassFactoryProtocol ===== | 32 // ===== CComClassFactoryProtocol ===== |
33 | 33 |
34 inline STDMETHODIMP CComClassFactoryProtocol::CreateInstance( | 34 inline STDMETHODIMP CComClassFactoryProtocol::CreateInstance( |
35 IUnknown* punkOuter, REFIID riid, void** ppvObj) | 35 IUnknown* punkOuter, REFIID riid, void** ppvObj) |
36 { | 36 { |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 252 } |
253 | 253 |
254 pObj->Release(); | 254 pObj->Release(); |
255 } | 255 } |
256 return hr; | 256 return hr; |
257 } | 257 } |
258 | 258 |
259 } // end namespace PassthroughAPP | 259 } // end namespace PassthroughAPP |
260 | 260 |
261 #endif // PASSTHROUGHAPP_PROTOCOLCF_INL | 261 #endif // PASSTHROUGHAPP_PROTOCOLCF_INL |
OLD | NEW |