12 #ifndef P6RUNTIMEAPI_H__
13 #define P6RUNTIMEAPI_H__ 1
41 static const P6COMFLAGS P6CF_NOFLAGS = 0x00000000;
49 static const P6COMFLAGS P6CF_RESERVED1 = 0x00000001;
58 static const P6COMFLAGS P6CF_DISABLELOGS = 0x00000002;
65 static const P6COMFLAGS P6CF_VERBOSELOGS = 0x00000004;
73 static const P6COMFLAGS P6CF_DISABLEDYNAMICREG = 0x00000008;
80 static const P6COMFLAGS P6CF_UNUSED1 = 0x00000010;
87 static const P6COMFLAGS P6CF_NOSERVICES = 0x00000020;
97 static const P6COMFLAGS P6CF_UPDATEAPPCONF = 0x00000080;
106 static const P6COMFLAGS P6CF_CONTINUEEXCEPTIONS = 0x00000100;
116 static const P6COMFLAGS P6CF_DONTFILTERCMDLINE = 0x00000200;
124 static const P6COMFLAGS P6CF_DISABLESERVICE = 0x00000400;
819 #define P6ASSERT(expr) ((expr)?P6R::eOk:p6Assert(P6TEXT(#expr),__FILE__,__LINE__))
P6API P6R::P6ERR p6CreateInstance(P6R::p6ICom *pOuter, const P6R::CID &cid, const P6R::IID &iid, P6R::P6VOID **ppIface)
Creates a single uninitialized instance of the class/interface associated with the specified componen...
Threading interfaces and definitions.
P6R::P6UINT32 P6BTFLAGS
Runtime API Types.
P6WCHAR * P6COMSTR
Standard COM length encoded string.
Wide Const binary string.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
P6API P6R::P6CHAR * p6ErrToStr(P6R::P6ERR err, P6R::P6CHAR *pszBuffer, P6R::P6SIZE cBuffer)
Convert a standard P6R::P6ERR into it's ASCII string representation.
The base interface all [p6]COM components must derive from and implement.
P6API P6R::P6WCHAR * p6ErrToWStr(P6R::P6ERR err, P6R::P6WCHAR *pszBuffer, P6R::P6SIZE cBuffer)
Convert a standard P6R::P6ERR into it's P6WCHAR* string representation.
P6COM DLL runtime api definitions.
p6IErrorInfo interface definition
A universally unique indentifier (UUID).
P6UINT32 P6ERR
COM err return type see P6ERR.h.
P6API P6R::P6ERR p6GetRuntimeIface(const P6R::IID &iid, P6R::P6VOID **ppIface)
This method is used to retreive any of the loader runtime interfaces.
#define P6API
[p6]COM runtime glue
P6API P6R::P6INT32 p6AtomicDec32(P6R::P6INT32 volatile *pVar)
Atomically decrements the variable pointed to by pVar by one.
P6API P6R::P6INT32 p6AtomicInc32(P6R::P6INT32 volatile *pVar)
Atomically increments the variable pointed to by pVar by one.
P6DIRS
This enumeration defines the directories which can be retrieved using the p6GetDirectory() API...
char P6CHAR
Narrow character type.