PtrLenWrite Function | |
Determine the number of bytes that can be written at a given pointer.
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.21
Syntax FUNCTION PtrLenWrite(
lpv AS IntPtr
) AS DWORD
public static uint PtrLenWrite(
IntPtr lpv
)
Request Example
View SourceParameters
- lpv
- Type: IntPtr
Return Value
Type:
DWord
The number of bytes that can be written, starting from the location pointed to by
ptrRead.
If
ptrRead is an invalid pointer or a write-protected pointer, a value of 0 is returned.
Remarks Examples
This example uses PtrLen() as an argument to HexDump():
1HexDump(ptrBuff, PtrLen(ptrBuff)
See Also Reference
PtrLenWrite(IntPtr)