CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums


Reads a processor native sized integer from unmanaged memory.

Namespace: ?System.Runtime.InteropServices
Assembly: ?mscorlib (in mscorlib.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ReadIntPtr ( _
	ptr As IntPtr _
) As IntPtr
C#
public static IntPtr ReadIntPtr(
	IntPtr ptr
)
Visual C++
public:
static IntPtr ReadIntPtr(
	IntPtr ptr
)
JavaScript
System.Runtime.InteropServices.Marshal.readIntPtr = function(ptr);

Parameters

ptr
Type: System..::.IntPtr
The address in unmanaged memory from which to read.

Return Value

The IntPtr read from the ptr parameter.

Exceptions

ExceptionCondition
System..::.AccessViolationExceptionptr is not a recognized format. -or-ptr is null. -or-ptr is invalid.

See Also



Free Download:
   
  Privacy | Contact Us
All Times Are GMT