Location: Symbol Reference > Classes > TJwAutoPointer Class > TJwAutoPointer Methods > TJwAutoPointer.CreateNewPointer Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwAutoPointer.CreateNewPointer Method
Pascal
class function CreateNewPointer(var Ptr: Pointer; Size: Cardinal; PointerType: TJwPointerType): IJwAutoPointer; overload;

CreateNewPointer creates a new pointer or wraps an existing one. The following pointer types are created automatically : 

  • ptGetMem
  • ptLocalAlloc
 

The following pointer types are tunneled through and must be created by the caller: 

  • ptNew
 

The following pointer types are not supported and raises EJwsclInvalidPointerType 

  • ptUnknown
  • ptClass
 

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!