| 137 | } |
| 138 | |
| 139 | static HContext NullNewContext(const ContextParams& params) |
| 140 | { |
| 141 | if (!g_NullContext) |
| 142 | { |
| 143 | g_NullContext = new NullContext(params); |
| 144 | |
| 145 | if (NullInitialize((HContext) g_NullContext, params)) |
| 146 | { |
| 147 | return (HContext) g_NullContext; |
| 148 | } |
| 149 | |
| 150 | DeleteContext((HContext) g_NullContext); |
| 151 | } |
| 152 | return 0x0; |
| 153 | } |
| 154 | |
| 155 | static bool NullIsSupported() |
| 156 | { |
nothing calls this directly
no test coverage detected