Main Page | Class Hierarchy | Class Members | Global Enums and Constants | Global Entry Points | Related Pages

AccCore.idl File Reference

Data Structures

Functions


Function Documentation

STDAPI AccArrayCopy ( xp_array psa,
xp_array **  ppsa 
)

Copy an array.

STDAPI AccArrayCreate ( xp_vtype  vt,
xp_int  size,
xp_array **  ppsa 
)

Create an array.

STDAPI AccArrayDestroy ( xp_array psa  ) 

Destroy an array.

STDAPI AccArrayGetCount ( xp_array psa,
xp_int pVal 
)

Get the lower bound of the array.

STDAPI AccArrayGetElement ( xp_array psa,
xp_int  index,
void *  p 
)

Get an element from the array (makes copy).

STDAPI AccArrayGetElemsize ( xp_array psa  ) 

Get the size of an element in the array.

STDAPI AccArrayGetVartype ( xp_array psa,
xp_vtype pvt 
)

Get the type of the array.

STDAPI AccArrayLock ( xp_array psa  ) 

Locks the array to prevent reallocation.

STDAPI AccArrayPtrOfIndex ( xp_array psa,
xp_int  index,
void **  pp 
)

Get a pointer to an element in the array.

STDAPI AccArrayPutElement ( xp_array psa,
xp_int  index,
void *  p 
)

Put an element into the array (makes copy).

STDAPI AccArrayRedim ( xp_array psa,
xp_int  size 
)

Resize an array.

STDAPI AccArrayUnlock ( xp_array psa  ) 

Unlocks the array.

STDAPI AccCreateObject ( REFCLSID  ,
REFIID  ,
void **   
)

Reserved for future use.

STDAPI AccCreateSession ( REFIID  ,
void **   
)

Create an IAccSession instance.

void AccDispatchMessages ( xp_int  msec  ) 

Pump messages until there are none left or the timeout elapses.

STDAPI AccGetErrorInfo ( IErrorInfo **   ) 

Gets extra error information.

void* AccGetMessageQueue (  ) 

Get the message queue for the current thread.

STDAPI AccGetSession ( xp_kstr  userName,
REFIID  iid,
void **  pp 
)

Get an existing IAccSession instance by name.

STDAPI AccGetSessions ( xp_array **  ppsa  ) 

Get all the currently existing IAccSessions.

STDAPI AccMemAlloc ( xp_int  size,
void **  pp 
)

Allocate memory from the internal heap.

STDAPI AccMemFree ( void *  p  ) 

Free allocated memory from AccMemAlloc or IStream::Stat.

STDAPI AccMessageLoop (  ) 

Pump messages until a quit message is posted.

STDAPI AccPluginGetInfo ( xp_kstr  path,
IAccPluginInfo **  pp 
)

Load plugin info from a downloaded package.

STDAPI AccPluginInstall ( xp_kstr  path,
xp_kstr  dstDir 
)

Register a downloaded plugin package, copying to a new location if desired.

STDAPI AccPluginUninstall ( xp_kstr  uuid  ) 

Delete, unregister and remove plugin from all sessions.

STDAPI AccPostMessage ( IAccMessage  ) 

Post a message.

STDAPI AccPostMessage2 ( void *  queue,
IAccMessage  
)

Post a message to the specified queue.

STDAPI AccPostQuit ( HRESULT   ) 

Post a quit message.

void AccSetDelayLoadRoot ( xp_kstr   ) 

Set the location for dependent libraries to be loaded from.

STDAPI AccSetMessageAvailableCallback ( AccMessageAvailableCallback  ,
void *   
)

session thread calls AccDispatchMessages() some time later.

STDAPI AccStreamCreateFromMemory ( const xp_u08 p,
xp_s64  size,
xp_kstr  name,
xp_uint  flags,
IAccStream **  ppiStream 
)

Create a stream from memory.

STDAPI AccStringAlloc ( xp_kstr  buf,
xp_str pstr 
)

Create a new string from a unicode array.

STDAPI AccStringAllocUtf8 ( const char *  buf,
xp_str pstr 
)

Create a new string from a utf8 array.

xp_int AccStringCompare ( xp_kstr  str1,
xp_kstr  str2 
)

Compare two strings, like strcmp.

void AccStringFree ( xp_str  str  ) 

Destroy a string.

xp_int AccStringGetUtf8 ( xp_kstr  str,
char *  buf,
xp_int  bufLen 
)

Gets the string contents as UTF-8. Returns bytes copied/needed for the conversion.

xp_bool AccStringHasPrefix ( xp_kstr  str,
xp_kstr  prefix 
)

Returns whether str begins with prefix. Case-insensitive.

xp_int AccStringLen ( xp_kstr  str  ) 

Get the length of a string.

xp_bool AccStringWillTruncateForBartItem ( xp_kstr  str,
AccBartItemType  bartItemType 
)

bart item type of 20 characters or fewer.

STDAPI AccUnixTimeToVarTime ( xp_s32  t,
DATE *  d 
)

Convert Unix timestamp to VT_DATE.

STDAPI AccVarChangeType ( xp_variant pvard,
xp_variant pvars,
xp_vtype  vt 
)

Convert a variant to another type.

STDAPI AccVarClear ( xp_variant pvar  ) 

Destroy a variant.

STDAPI AccVarCopy ( xp_variant pvard,
xp_variant pvars 
)

Copy a variant to another variant.

void AccVarInit ( xp_variant pvar  ) 

Initialize a new variant.

STDAPI AccVarTimeToUnixTime ( DATE  d,
xp_s32 t 
)

Convert VT_DATE to Unix timestamp.


Questions? Stop by the AIM SDK Developer Forum
Created Mon Oct 15 18:06:39 2007 for AIM: Developer SDK
© 2007 AOL LLC. All Rights Reserved.