When AcquirePointer returns, you should perform bounds checking by verifying that the pointer parameter is null. If it is not null, you must call the SafeBuffer.ReleasePointer method in a constrained execution region (CER).
AcquirePointer calls the SafeHandle.DangerousAddRef method and exposes the pointer. Unlike the Read<T> method, it does not change the current position of the pointer.
The following example demonstrates how to use the AcquirePointer method:
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)