SptSetBufferWaH()

 visits
Parent Previous Next

Syntax

SptSetBufferWaH(bBuffer As Byte, wWidth As Word, wHeight As Word), Byte

Overview

System procedure used to define the width and height of a sprite buffer, thereby assigning two-dimensional properties to the underlying one-dimensional pixel array.

Parameters

Parameter

Description

bBuffer

Sprite buffer index to configure

wWidth

Width of the buffer in pixels

wHeight

Height of the buffer in pixels

Return value

Value

Meaning

0

Operation completed successfully

1

Invalid buffer index

2

Buffer size is insufficient for the specified width and height

Created with the Personal Edition of HelpNDoc: Maximize Your Documentation Output with HelpNDoc's Advanced Project Analyzer