| 151 | |
| 152 | #if __TBB_WIN8UI_SUPPORT |
| 153 | bool dynamic_link( const char* library, const dynamic_link_descriptor descriptors[], size_t required, dynamic_link_handle*, int flags ) { |
| 154 | dynamic_link_handle tmp_handle = NULL; |
| 155 | TCHAR wlibrary[256]; |
| 156 | if ( MultiByteToWideChar(CP_UTF8, 0, library, -1, wlibrary, 255) == 0 ) return false; |
| 157 | if ( flags & DYNAMIC_LINK_LOAD ) |
| 158 | tmp_handle = LoadPackagedLibrary( wlibrary, 0 ); |
| 159 | if (tmp_handle != NULL){ |
| 160 | return resolve_symbols(tmp_handle, descriptors, required); |
| 161 | }else{ |
| 162 | return false; |
| 163 | } |
| 164 | } |
| 165 | void dynamic_unlink( dynamic_link_handle ) { |
| 166 | } |
| 167 | void dynamic_unlink_all() { |
no test coverage detected