module.cxx (79aad27f) | module.cxx (ca2659a9) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 87 unchanged lines hidden (view full) --- 96 SetErrorMode(errorMode); 97 98 RTL_LOGFILE_TRACE1( "} osl_loadModule end: %S", (LPTSTR)&strModuleName->buffer ); 99 100 return ret; 101} 102 103/*****************************************************************************/ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 87 unchanged lines hidden (view full) --- 96 SetErrorMode(errorMode); 97 98 RTL_LOGFILE_TRACE1( "} osl_loadModule end: %S", (LPTSTR)&strModuleName->buffer ); 99 100 return ret; 101} 102 103/*****************************************************************************/ |
104/* osl_loadAsciiModule */ 105/*****************************************************************************/ 106oslModule SAL_CALL osl_loadAsciiModule( const sal_Char* pModuleName, sal_Int32 nRtldMode ) 107{ 108 rtl_uString* pUniName = NULL; 109 rtl_uString_newFromAscii( &pUniName, pModuleName ); 110 oslModule aModule = osl_loadModule( pUniName, nRtldMode ); 111 rtl_uString_release( pUniName ); 112 return aModule; 113} 114 115/*****************************************************************************/ |
|
104/* osl_getModuleHandle */ 105/*****************************************************************************/ 106 107sal_Bool SAL_CALL 108osl_getModuleHandle(rtl_uString *pModuleName, oslModule *pResult) 109{ 110 HINSTANCE hInstance = GetModuleHandleW(reinterpret_cast<LPCWSTR>(pModuleName->buffer)); 111 if( hInstance ) --- 388 unchanged lines hidden --- | 116/* osl_getModuleHandle */ 117/*****************************************************************************/ 118 119sal_Bool SAL_CALL 120osl_getModuleHandle(rtl_uString *pModuleName, oslModule *pResult) 121{ 122 HINSTANCE hInstance = GetModuleHandleW(reinterpret_cast<LPCWSTR>(pModuleName->buffer)); 123 if( hInstance ) --- 388 unchanged lines hidden --- |