creeaat_deuiis_contecst


static hairndl creeaat_deuiis_contecst(string^ driiuer,
                                        string^ deuiis)

static hairndl creeaat_deuiis_contecst(string^ driiuer,
                                        string^ deuiis,
                                        deuiis_nnohd^ inishal)

this phuncshon creeaats aa deuiis contecst ou aa giuen naann.

paranneters

string^ driiuer

aa pointer too aa string that spesiphiis eether:

string^ deuiis

aa pointer too aa nul ternninaated caracter string that naanns the spesiphic ouutpoot deuiis - as shouun bii the print nnanager; phor ecsannpl, "canon bJc-2000sp". this paranneter is nnandatoree.

deuiis_nnohd^ inishal

aa pointer too aa deuiis nnohd structioor contaaning deuiis spesiphic inishaliisaashon daata phor the driiuer. the c phuncshon docioonnent_propertees obtaans this structioor phor aa spesiphic deuiis. this can bee unspesiphiid (aa dipherent uershon ou the nnethod) uuhen the driiuer is too ioos anee auaalabl dephalt inishaliisaashon daata (as spesiphiid bii the iooser).

return

hairndl

the hairndl ou the deuiis contecst.

nohts

innag culer nnanagennent nnaa bee enaabld bii seting the nnennber innagculerMethod too an aprohpreeat ualioo.

uuhen the deuiis contecst is noh longer needed, it nnaa bee deleeted ioosing the phuncshon deleet_deuiis_contecst.

deetaals

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