Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




index 5fa2585..1df2086 100644 (file)
@@ -1,7 +1,8 @@
 Attribute VB_Name = "GrpApi"\r
 Option Explicit\r
 \r
-'  ShadowFlare GRP Library. (c) ShadowFlare Software 2002-2006\r
+'  ShadowFlare GRP Library. (c) ShadowFlare Software 2002-2008\r
+'  License information for this code is in license.txt\r
 \r
 '  Any comments or suggestions are accepted at blakflare@hotmail.com (ShadowFlare)\r
 \r
@@ -81,18 +82,18 @@ Declare Sub CopyMemory Lib "Kernel32.dll" _
 '\r
 ' The functions must be in this form:\r
 '\r
-' Function GetPixelProc (ByRef value As any_type, X As Long, Y As Long) As Long\r
-' Sub SetPixelProc (ByRef value As any_type, X As Long, Y As Long, clrColor As Long)\r
+' Function GetPixelProc (ByRef value As any_type, ByVal X As Long, ByVal Y As Long) As Long\r
+' Sub SetPixelProc (ByRef value As any_type, ByVal X As Long, ByVal Y As Long, ByVal clrColor As Long)\r
 '\r
 ' or\r
 '\r
-' Function GetPixelProc (ByVal value As any_type, X As Long, Y As Long) As Long\r
-' Sub SetPixelProc (ByVal value As any_type, X As Long, Y As Long, clrColor As Long)\r
+' Function GetPixelProc (ByVal value As any_type, ByVal X As Long, ByVal Y As Long) As Long\r
+' Sub SetPixelProc (ByVal value As any_type, ByVal X As Long, ByVal Y As Long, ByVal clrColor As Long)\r
 '\r
-' Replace "any_type" with whatever type you want.  This parameter gets the data from\r
-' DrawGrp's hdcDest parameter.  You can either pass a number to DrawGrp and use the\r
-' "ByVal" versions of the above functions, or you can use AddressOf to get a reference\r
-' to a variable and use it for the "ByRef" versions.\r
+' Replace "any_type" with whatever type you want (but must be 4 bytes long if ByVal).\r
+' This parameter gets the data from DrawGrp's hdcDest parameter.  You can either pass\r
+' a number to DrawGrp and use the "ByVal" versions of the above functions, or you can\r
+' use AddressOf to get a reference to a variable and use it for the "ByRef" versions.\r
 ' GetPixelProc should return an RGB color value.\r
 Declare Sub SetFunctionGetPixel Lib "Grpapi.dll" (lpGetPixelProc As Long)\r
 Declare Sub SetFunctionSetPixel Lib "Grpapi.dll" (lpSetPixelProc As Long)\r