home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
smart21b.zip
/
SMARTAUX
/
WN16PWPC
/
WN16PWPC.DCT
< prev
Wrap
Text File
|
1995-02-08
|
5KB
|
125 lines
.Notice =Copyright (c) 1993, 1994 One Up Corporation, All Rights Reserved
.Table =Windows 3.1 to Power PC API
.Version =1
.Date =11-08-94
.Keyword =010 020 570 GetDOSEnvironment
.SComment=Replace with DosGetEnv
.LComment=Replace with DosGetEnv
.Sample =Windows:
= EnvBuff = GetDOSEnvironment();
=
=OS/2:
= DosGetEnv(BufferLength, EnvBuff);
.Prototyp=DosGetEnv(PULONG BufferLength, PVOID, Buffer);
.Template=DosGetEnv(0, (PVOID)$KRTN)
.Command =SmMigrateKeyword($T1)
.Keyword =010 020 070 IsCharAlphaNumeric
.SComment=Replace with UniQueryAlnum
.LComment=Replace with UniQueryAlnum. A locale object handle created with
=UniCreateLocaleObject must be supplied for the first parameter.
.Sample =Windows:
= ans = IsCharAlphaNumberic(ch);
=OS/2:
= ans = UniQueryAlnum(locale_object, ch);
.Prototyp=int UniQueryAlnum(const LocaleObject locale_object, UniChar ch);
.Template=UniQueryAlnum( , $P1)
.Command =SmMigrateKeyword($T1)
=NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
=NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
=SmOutputNote(NOTE1)
=SmOutputNote(NOTE2)
.Keyword =010 020 070 IsCharAlpha
.SComment=Replace with UniQueryAlpha
.LComment=Replace with UniQueryAlpha. A locale object handle created with
=UniCreateLocaleObject must be supplied for the first parameter.
.Sample =Windows:
= ans = IsCharAlpha(ch);
=OS/2:
= ans = UniQueryAlpha(locale_object, ch);
.Prototyp=int UniQueryAlpha(const LocaleObject locale_object, UniChar ch);
.Template=UniQueryAlpha( ,$P1)
.Command =SmMigrateKeyword($T1)
=NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
=NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
=SmOutputNote(NOTE1)
=SmOutputNote(NOTE2)
.Keyword =010 020 070 IsCharLower
.SComment=Replace with UniQueryLower.
.LComment=Replace with UniQueryLower. A locale object handle created with
=UniCreateLocaleObject must be supplied for the first parameter.
.Sample =Windows:
= ans = IsCharLower(ch);
=OS/2:
= ans = UniQueryLower(locale_object, ch);
.Prototyp=int UniQueryLower(const LocaleObject locale_object, UniChar ch);
.Template=UniQueryLower( ,$P1)
.Command =SmMigrateKeyword($T1)
=NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
=NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
=SmOutputNote(NOTE1)
=SmOutputNote(NOTE2)
.Keyword =010 020 070 IsCharUpper
.SComment=Replace with UniQueryUpper.
.LComment=Replace with UniQueryUpper. A locale object handle created with
=UniCreateLocaleObject must be supplied for the first parameter.
.Sample =Windows:
= ans = IsCharUpper(ch);
=OS/2:
= ans = UniQueryUpper(locale_object, ch);
.Prototyp=int UniQueryUpper(const LocaleObject locale_object, UniChar ch);
.Template=UniQueryUpper( ,$P1)
.Command =SmMigrateKeyword($T1)
=NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
=NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
=SmOutputNote(NOTE1)
=SmOutputNote(NOTE2)
.Keyword =010 010 070 lstrcat
.SComment=Replace with UniStrcat
.LComment=Replace with UniStrcat
.Sample =Windows:
= lstrcat(&str1, &str2);
=OS/2:
= UniStrcat(&str1, &str2);
.Prototyp=UniChar UniStrcat(UniChar* str1, const UniChar* str2);
.Template=UniStrcat($P1, $P2)
.Command =SmMigrateKeyword($T1)
.Keyword =010 010 070 lstrcmp
.SComment=Replace with UniStrcmp
.LComment=Replace with UniStrcmp
.Sample =Windows:
= ans = lstrcmp(&str1, &str2);
=OS/2:
= ans = UniStrcmp(&str1, &str2);
.Prototyp=int UniStrcmp(UniChar* str1, const UniChar* str2);
.Template=UniStrcmp($P1, $P2)
.Command =SmMigrateKeyword($T1)
.Keyword =010 010 070 lstrcpy
.SComment=Replace with UniStrcpy
.LComment=Replace with UniStrcpy
.Sample =Windows:
= lstrcpy(&str1, &str2);
=OS/2:
= UniStrcpy(&str1, &str2);
.Prototyp=UniChar* UniStrcpy(UniChar* str1, const UniChar* str2);
.Template=UniStrcpy($P1, $P2)
.Command =SmMigrateKeyword($T1)
.Keyword =010 010 070 lstrlen
.SComment=Replace with UniStrlen
.LComment=Replace with UniStrlen
.Sample =Windows:
= lstrlen(&str);
=OS/2:
= UniStrlen(&str);
.Prototyp=unsigned int UniStrlen(const UniChar* str);
.Template=UniStrlen($P1)
.Command =SmMigrateKeyword($T1)