PBNI enumerated types

PowerBuilder Native Interface

PBNI enumerated types

Enumerated types for PowerBuilder groups

The pbgroup_type enumerated types are used in IPB_Session FindGroup calls to identify the type of group required.

Table 6-3: Enumerated types for PowerBuilder groups

Value

PowerBuilder object

pbgroup_application

Application

pbgroup_datawindow

DataWindow definition

pbgroup_function

Global function

pbgroup_menu

Menu

pbgroup_proxy

Proxy definition for a remote object

pbgroup_structure

PowerBuilder structure type

pbgroup_userobject

PowerBuilder user object

pbgroup_window

Window

pbgroup_unknown

Unknown group

Enumerated types for PowerBuilder values

The pbvalue_type enumerated types are used in methods such as the IPB_Value GetType method and the IPB_Session NewUnboundedSimpleArray method to identify the type of PowerBuilder data.

Table 6-4: Enumerated types for PowerBuilder values

Value

PowerBuilder datatype

pbvalue_notype

Undetermined datatype.

pbvalue_int

Int

pbvalue_uint

Uint

pbvalue_byte

Byte

pbvalue_long

Long

pbvalue_longlong

Longlong

pbvalue_ulong

Ulong

pbvalue_real

Real

pbvalue_double

Double

pbvalue_dec

Decimal

pbvalue_string

String

pbvalue_boolean

Boolean

pbvalue_any

Any (changed to another datatype when set explicitly)

pbvalue_blob

Blob

pbvalue_date

Date

pbvalue_time

Time

pbvalue_datetime

DateTime

pbvalue_char

Char

Enumerated types for PowerBuilder routines

The pbrt_type enumerated types are used in IPB_Session GetMethodID calls to identify the type of routine required.

Table 6-5: Enumerated types for PowerBuilder routines

Value

Routine type

PBRT_FUNCTION

Function

PBRT_EVENT

Event