BinaryStream.Handle property
From Xojo Documentation
Read-Only Property (As Integer )
IntegerValue = aBinaryStream.Handle(Type as Integer)
New in 2005R5
Supported for all project types and targets.
New in 2005R5
Supported for all project types and targets.
Returns a handle of the Type passed or -1 if the requested Type cannot be retrieved.
Notes
The BinaryStream class constants given below can be passed as the parameter.
| Constant | Description |
|---|---|
| HandleTypeWin32Handle | A Windows32 OS handle. |
| HandleTypeFilePointer | A file pointer. |
| HandleTypeFileNumber | A file descriptor. |
Sample Code
The following code gets a Win32 handle.
