guys, consider the following:

Code:
Public Type editstream
    dwCookie As Long
    dwError As Long
    pfnCallback As Long
End Type
the pfnCallback has to be the address of an application defined callback function, how do I go about pushing this in, this is how far I got....

Code:
Dim iResult&
eStream.dwCookie = 9
eStream.dwError = 0&
eStream.pfnCallback  = AddressOf EditStreamCallback
I know this is incorrect - I just need some pointers here (scuse the pun )