Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 546
 
7-7
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 7      CtiOs Object
Methods
GetPropertyType
The GetPropertyType method returns the data type of the specified property.
Syntax
C++:
int GetPropertyType (string& key)
int GetPropertyType (int key)
int GetPropertyType (char* key)
COM:
HRESULT GetPropertyType (/*[in]*/ VARIANT* key, /*[out,retval]*/ 
int* value)
VB:
GetPropertyType (key As VARIANT) As Int
Java:
int GetPropertyType (string key)
int GetPropertyType (int key)
Parameters
key
The key containing the name of the property whose type you want.
value
An integer pointer to the value of the type
Return Value
COM:
 
Default HRESULT return value. See 
Others: An integer indicating the property’s type with the following possible 
values:
Argument Type
Description
ARG_NOTSET
Argument type not determined
ARG_INT
Signed integer
ARG_SHORT
2 bytes signed integer
ARG_BOOL
1 byte integer
ARG_STRING
STL character string