MakeFixedBuff

Description:              This statement creates a buffer value which has its data stored at a specific memory address.  Not supported under 64-bit VTS.

Returns:                    Nothing (uses first parameter)

Usage:                       Script or Steady State

Format:                      MakeFixedBuff(ReturnBuff, Address, Size)

Parameters:             ReturnBuff   { Variable }  { required }  { no default }

                                      Any variable in which the newly created buffer is stored.

                                    Address   { numeric }  { required }  { no default }

                                      Any expression which gives a 4 byte selector:offset value for the protected mode memory to access. This is usually returned from a DLL call and is handled as a long integer type value.

                                    Size   { numeric }  { required }  { no default }

                                      Any numeric expression giving the number of bytes in the buffer. This value must be between 0 and 65 500.

Comments:               This statement is used to access specific addresses in protected mode memory. This is intended to be used for specialized inter-program communication tasks such as accessing a shared memory buffer used by another program.

See Also:

BuffOrder | BuffRead | BuffStream | BuffToArray | BuffToParm | BuffToPointer | BuffWrite | MakeBuff