AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
process.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 #ifndef INCLUDED_RTL_PROCESS_H
4 #define INCLUDED_RTL_PROCESS_H
5 
6 #include "sal/config.h"
7 
8 #include "osl/process.h"
9 #include "sal/saldllapi.h"
10 #include "sal/types.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 
29 SAL_DLLPUBLIC void SAL_CALL rtl_getGlobalProcessId( sal_uInt8 *pTargetUUID );
30 
43 SAL_DLLPUBLIC oslProcessError SAL_CALL rtl_getAppCommandArg(sal_uInt32 nArg, rtl_uString **strCommandArg);
44 
55 SAL_DLLPUBLIC sal_uInt32 SAL_CALL rtl_getAppCommandArgCount(void);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif
62 
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unsigned char sal_uInt8
Definition: types.h:24
SAL_DLLPUBLIC oslProcessError rtl_getAppCommandArg(sal_uInt32 nArg, rtl_uString **strCommandArg)
Get the nArg-th command-line argument passed to the main-function of this process.
oslProcessError
Definition: process.h:42
SAL_DLLPUBLIC void rtl_getGlobalProcessId(sal_uInt8 *pTargetUUID)
gets a 16-byte fixed size identifier which is guaranteed not to change during the current process...
SAL_DLLPUBLIC sal_uInt32 rtl_getAppCommandArgCount(void)
Returns the number of command line arguments at process start.
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14