C Structure class > Methods xHarbour Developers Network  

oC Structure class:getPointer()

Retrieves the pointer to the internal binary buffer.

Syntax

:getPointer() --> pStructure

Description

Method :getPointer() returns a pointer to the internal binary buffer of a structure object. This pointer can then be passed via DllCall() to an external API function requiring a structure as parameter. Note that method :deValue() must be called when the API function changes members of the structure. Otherwise the changes do not become visible in the structure object.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe