This command will return the pitch of the backbuffer. You can pass this data to a DLL to assist in the direct access of backbuffer memory. The pitch is similar to the width of the backbuffer, and may be larger should the backbuffer use a cache at the end of each horizontal line. You can only use this command when you have used the LOCK BACKBUFFER command.
Syntax:
Return Integer=GET BACKBUFFER PITCH()