home *** CD-ROM | disk | FTP | other *** search
/ Computer Guide / COMPUTER.iso / palette.u32 / DLL_HEADER / SETPALETTE < prev   
Unknown  |  1996-04-23  |  385 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% disktype Blank disk/medium default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 49 00 57 53 00 65 72 | 72 63 6f 64 65 20 3a 3d |.I.WS.er|rcode :=|
|00000010| 20 53 65 74 50 61 6c 65 | 74 74 65 28 57 69 6e 64 | SetPale|tte(Wind|
|00000020| 6f 77 48 61 6e 64 6c 65 | 2c 20 22 70 61 6c 66 69 |owHandle|, "palfi|
|00000030| 6c 65 22 29 0d 0a 0d 0a | 54 68 69 73 20 66 75 6e |le")....|This fun|
|00000040| 63 74 69 6f 6e 20 73 65 | 74 73 20 74 68 65 20 41 |ction se|ts the A|
|00000050| 75 74 68 6f 72 77 61 72 | 65 20 70 61 6c 65 74 74 |uthorwar|e palett|
|00000060| 65 20 66 72 6f 6d 20 61 | 20 70 61 6c 65 74 74 65 |e from a| palette|
|00000070| 20 66 69 6c 65 2e 20 54 | 68 65 20 66 69 6c 65 20 | file. T|he file |
|00000080| 6d 75 73 74 20 62 65 20 | 61 20 52 49 46 46 20 70 |must be |a RIFF p|
|00000090| 61 6c 65 74 74 65 20 66 | 69 6c 65 2c 20 61 20 44 |alette f|ile, a D|
|000000a0| 49 42 20 6f 72 20 61 20 | 42 4d 50 20 66 69 6c 65 |IB or a |BMP file|
|000000b0| 2e 0d 0a 0d 0a 49 74 20 | 72 65 74 75 72 6e 73 3a |.....It |returns:|
|000000c0| 0d 0a 20 20 30 20 69 66 | 20 74 68 65 20 70 61 6c |.. 0 if| the pal|
|000000d0| 65 74 74 65 20 77 61 73 | 20 6c 6f 61 64 65 64 0d |ette was| loaded.|
|000000e0| 0a 20 20 31 20 69 66 20 | 74 68 65 20 77 69 6e 64 |. 1 if |the wind|
|000000f0| 6f 77 20 68 61 6e 64 6c | 65 20 77 61 73 20 69 6e |ow handl|e was in|
|00000100| 63 6f 72 72 65 63 74 0d | 0a 20 20 32 20 69 66 20 |correct.|. 2 if |
|00000110| 69 6e 73 75 66 66 69 63 | 69 65 6e 74 20 6d 65 6d |insuffic|ient mem|
|00000120| 6f 72 79 20 74 6f 20 6c | 6f 61 64 20 74 68 65 20 |ory to l|oad the |
|00000130| 70 61 6c 65 74 74 65 0d | 0a 20 20 33 20 69 66 20 |palette.|. 3 if |
|00000140| 74 68 65 20 66 69 6c 65 | 20 77 61 73 20 6e 6f 74 |the file| was not|
|00000150| 20 66 6f 75 6e 64 0d 0a | 20 20 34 20 69 66 20 74 | found..| 4 if t|
|00000160| 68 65 20 66 69 6c 65 20 | 77 61 73 20 6e 6f 74 20 |he file |was not |
|00000170| 61 20 73 75 70 70 6f 72 | 74 65 64 20 74 79 70 65 |a suppor|ted type|
|00000180| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+