sx_GetScope

<< Click to Display Table of Contents >>

Navigation:  Apollo API Listing >

sx_GetScope

VB Declaration

Declare Function sx_GetScope Lib "Apollo9.dll"

(ByVal iWhichScope As Integer)

As String

C Declaration

LONG FAR PASCAL sx_GetScope

(SHORT iWhichScope);

Description

Gets the original value of a scoping string passed to sx_SetScope.

Parameters

iWhichScope: If passed as zero, the low scope value is returned. If iWhichScope is passed as one, the high scope value is returned.

Return Value

The original scope string is returned. If there is no corresponding scope set, a zero length string is returned.

VB Example

sLowVal$ = sx_GetScope(0)

sHighVal$ = sx_GetScope(1)

C Example

BYTE caLowScope[256];

 

_fmemset(caLowScope, 0, sizeof(caLowScope));

lstrcpy(caLowScope, (LPSTR) sx_GetScope(0));

See Also

sx_SetScope