Global Functions in Global Namespace C++
in Sourcefile current_context.h
- uno_getCurrentContext
- extern "C"
sal_Bool uno_getCurrentContext(
void * * |
ppCurrentContext, |
rtl_uString * |
pEnvDcp, |
void * |
pEnvContext ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Gets the current task's context.
- ATTENTION!
Don't spread the returned interface around to other threads. Every thread has its own
current context.
- Parameters
ppCurrentContext |
inout param current context of type com.sun.star.uno.XCurrentContext
|
pEnvDcp |
descriptor of returned interface's environment
|
pEnvContext |
context of returned interface's environment (commonly 0)
|
- Return
true, if context ref was transferred (even if null ref)
- uno_setCurrentContext
- extern "C"
sal_Bool uno_setCurrentContext(
void * |
pCurrentContext, |
rtl_uString * |
pEnvDcp, |
void * |
pEnvContext ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Sets the current task's context.
- Parameters
pCurrentContext |
in param current context of type com.sun.star.uno.XCurrentContext
|
pEnvDcp |
descriptor of interface's environment
|
pEnvContext |
context of interface's environment (commonly 0)
|
- Return
true, if context ref was transferred (even if null ref)
Top of Page
Copyright © 2000, 2015 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.