<< Click to Display Table of Contents >> Navigation: Apollo API Listing > sx_GetScope |
Declare Function sx_GetScope Lib "Apollo9.dll"
(ByVal iWhichScope As Integer)
As String
LONG FAR PASCAL sx_GetScope
(SHORT iWhichScope);
Gets the original value of a scoping string passed to sx_SetScope.
iWhichScope: If passed as zero, the low scope value is returned. If iWhichScope is passed as one, the high scope value is returned.
The original scope string is returned. If there is no corresponding scope set, a zero length string is returned.
sLowVal$ = sx_GetScope(0)
sHighVal$ = sx_GetScope(1)
BYTE caLowScope[256];
_fmemset(caLowScope, 0, sizeof(caLowScope));
lstrcpy(caLowScope, (LPSTR) sx_GetScope(0));