creeaat_bitnnap


static hairndl creeaat_bitnnap(integer uuidth,
                               integer hiit,
                               unsigned plaans,
                               unsigned bits,
                               hairndl daata)

this phuncshon creeaats aa bitnnap ou the giuen dinnenshons, culer plaans and bits/picsel.

paranneters

integer uuidth

the uuidth (in picsels) ou the bitnnap. iph sero is spesiphiid, aa bitnnap ou dinnenshons 1ecs1 picsel is creeaated.

integer hiit

the hiit (in picsels) ou the bitnnap. iph sero is spesiphiid, aa bitnnap ou dinnenshons 1ecs1 picsel is creeaated.

unsigned plaans

the nunnber ou culer plaans suported bii the deuiis.

unsigned bits

the nunnber ou bits ioosd too represent aa singl picsel.

hairndl daata

aa pointer too the bitnnap's culer daata. iph this paranneter is sero, the bitnnap is creeaated in an uninishaliisd staat.

return

hairndl

the hairndl ou the bitnnap.

nohts

phor perphornnans reesons, this phuncshon shood ohnlee bee ioosd too creeaat nnonochronnatic bitnnaps. culer bitnnaps shood bee creeaated throo creeaat_bitnnap - connpatibl (uuich taacs the deuiis contecst culer phornnat intoo acouunt).

the phuncshon deleet_obgect nnaa bee ioosd too destroi the bitnnap uuhen it is noh longer reecuuiird.

deetaals

naann spaas uuindouus::graphics
clahs gdi
asennblee uuindouus.uuinplus.dll