This site is no longer active and is available for archival purposes only. Registration and login is disabled.

copying memory


copying memory

Postby frazzled » Nov 28, 2002 @ 11:59am

i have a unsigned short buffer of 320*240 and would like to cope into vid mem,can anyone tell me if memcpy could be used for this.
frazzled
 


Postby Guest » Nov 28, 2002 @ 12:44pm

Yes it could.
Guest
 


Postby Malmer » Nov 28, 2002 @ 5:33pm

Just make sure you copy 320 * 240 * 2, since a unsigned short is two bytes.
All your base are belong to us
User avatar
Malmer
pm Member
 
Posts: 768
Joined: Apr 26, 2001 @ 5:15pm
Location: Sweden


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron