home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / smart21b.zip / SMARTAUX / WN16PWPC / WN16PWPC.DCT < prev   
Text File  |  1995-02-08  |  5KB  |  125 lines

  1. .Notice  =Copyright (c) 1993, 1994 One Up Corporation, All Rights Reserved
  2. .Table   =Windows 3.1 to Power PC API
  3. .Version =1
  4. .Date    =11-08-94
  5.  
  6. .Keyword =010 020 570 GetDOSEnvironment
  7. .SComment=Replace with DosGetEnv
  8. .LComment=Replace with DosGetEnv
  9. .Sample  =Windows:
  10.          =  EnvBuff = GetDOSEnvironment();
  11.          =
  12.          =OS/2:
  13.          =  DosGetEnv(BufferLength, EnvBuff);
  14. .Prototyp=DosGetEnv(PULONG BufferLength, PVOID, Buffer);
  15. .Template=DosGetEnv(0, (PVOID)$KRTN)
  16. .Command =SmMigrateKeyword($T1)
  17.  
  18. .Keyword =010 020 070 IsCharAlphaNumeric
  19. .SComment=Replace with UniQueryAlnum
  20. .LComment=Replace with UniQueryAlnum. A locale object handle created with
  21.          =UniCreateLocaleObject must be supplied for the first parameter.
  22. .Sample  =Windows:
  23.          =  ans = IsCharAlphaNumberic(ch);
  24.          =OS/2:
  25.          =  ans = UniQueryAlnum(locale_object, ch);
  26. .Prototyp=int UniQueryAlnum(const LocaleObject locale_object, UniChar ch);
  27. .Template=UniQueryAlnum( , $P1)
  28. .Command =SmMigrateKeyword($T1)
  29.          =NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
  30.          =NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
  31.          =SmOutputNote(NOTE1)
  32.          =SmOutputNote(NOTE2)
  33.  
  34. .Keyword =010 020 070 IsCharAlpha
  35. .SComment=Replace with UniQueryAlpha
  36. .LComment=Replace with UniQueryAlpha. A locale object handle created with
  37.          =UniCreateLocaleObject must be supplied for the first parameter.
  38. .Sample  =Windows:
  39.          =  ans = IsCharAlpha(ch);
  40.          =OS/2:
  41.          =  ans = UniQueryAlpha(locale_object, ch);
  42. .Prototyp=int UniQueryAlpha(const LocaleObject locale_object, UniChar ch);
  43. .Template=UniQueryAlpha( ,$P1)
  44. .Command =SmMigrateKeyword($T1)
  45.          =NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
  46.          =NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
  47.          =SmOutputNote(NOTE1)
  48.          =SmOutputNote(NOTE2)
  49.  
  50. .Keyword =010 020 070 IsCharLower
  51. .SComment=Replace with UniQueryLower.
  52. .LComment=Replace with UniQueryLower. A locale object handle created with
  53.          =UniCreateLocaleObject must be supplied for the first parameter.
  54. .Sample  =Windows:
  55.          =  ans = IsCharLower(ch);
  56.          =OS/2:
  57.          =  ans = UniQueryLower(locale_object, ch);
  58. .Prototyp=int UniQueryLower(const LocaleObject locale_object, UniChar ch);
  59. .Template=UniQueryLower( ,$P1)
  60. .Command =SmMigrateKeyword($T1)
  61.          =NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
  62.          =NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
  63.          =SmOutputNote(NOTE1)
  64.          =SmOutputNote(NOTE2)
  65.  
  66. .Keyword =010 020 070 IsCharUpper
  67. .SComment=Replace with UniQueryUpper.
  68. .LComment=Replace with UniQueryUpper. A locale object handle created with
  69.          =UniCreateLocaleObject must be supplied for the first parameter.
  70. .Sample  =Windows:
  71.          =  ans = IsCharUpper(ch);
  72.          =OS/2:
  73.          =  ans = UniQueryUpper(locale_object, ch);
  74. .Prototyp=int UniQueryUpper(const LocaleObject locale_object, UniChar ch);
  75. .Template=UniQueryUpper( ,$P1)
  76. .Command =SmMigrateKeyword($T1)
  77.          =NOTE1 = "WARNING for " $KEY ": A locale object handle obtained from a previous"
  78.          =NOTE2 = "call to UniCreateLocaleObject must be inserted for parameter 1."
  79.          =SmOutputNote(NOTE1)
  80.          =SmOutputNote(NOTE2)
  81.  
  82. .Keyword =010 010 070 lstrcat
  83. .SComment=Replace with UniStrcat
  84. .LComment=Replace with UniStrcat
  85. .Sample  =Windows:
  86.          =  lstrcat(&str1, &str2);
  87.          =OS/2:
  88.          =  UniStrcat(&str1, &str2);
  89. .Prototyp=UniChar UniStrcat(UniChar* str1, const UniChar* str2);
  90. .Template=UniStrcat($P1, $P2)
  91. .Command =SmMigrateKeyword($T1)
  92.  
  93. .Keyword =010 010 070 lstrcmp
  94. .SComment=Replace with UniStrcmp
  95. .LComment=Replace with UniStrcmp
  96. .Sample  =Windows:
  97.          =  ans = lstrcmp(&str1, &str2);
  98.          =OS/2:
  99.          =  ans = UniStrcmp(&str1, &str2);
  100. .Prototyp=int UniStrcmp(UniChar* str1, const UniChar* str2);
  101. .Template=UniStrcmp($P1, $P2)
  102. .Command =SmMigrateKeyword($T1)
  103.  
  104. .Keyword =010 010 070 lstrcpy
  105. .SComment=Replace with UniStrcpy
  106. .LComment=Replace with UniStrcpy
  107. .Sample  =Windows:
  108.          =  lstrcpy(&str1, &str2);
  109.          =OS/2:
  110.          =  UniStrcpy(&str1, &str2);
  111. .Prototyp=UniChar* UniStrcpy(UniChar* str1, const UniChar* str2);
  112. .Template=UniStrcpy($P1, $P2)
  113. .Command =SmMigrateKeyword($T1)
  114.  
  115. .Keyword =010 010 070 lstrlen
  116. .SComment=Replace with UniStrlen
  117. .LComment=Replace with UniStrlen
  118. .Sample  =Windows:
  119.          =  lstrlen(&str);
  120.          =OS/2:
  121.          =  UniStrlen(&str);
  122. .Prototyp=unsigned int UniStrlen(const UniChar* str);
  123. .Template=UniStrlen($P1)
  124. .Command =SmMigrateKeyword($T1)
  125.