/ Mac Power 1997 January
/ macpower199701.bin / AMUG / Programming_10 / Videotoolbox 96-08-22-c.sit / VideoToolbox / VideoToolboxSources / IsWindow.c ![]() | < prev | next > |
MacBinary | 1996-06-13 | 1.1 KB | [TEXT/CWIE] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | Compact Compressed (Unix) (archive/compact) | ext | Supported |
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Thu Jun 13 14:28:16 1996, modified Thu Jun 13 14:28:16 1996, creator 'CWIE', type ASCII, 424 bytes "IsWindow.c" , at 0x228 410 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [CWIE] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 49 73 57 69 6e 64 | 6f 77 2e 63 00 00 00 00 |..IsWind|ow.c....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 01 a8 00 | 00 01 9a ad e6 0e 40 ad |........|......@.|
|00000060| e6 0e 40 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..@.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f5 ad 00 00 |........|........|
|00000080| 2f 2a 0d 49 73 57 69 6e | 64 6f 77 2e 63 0d 0d 73 |/*.IsWin|dow.c..s|
|00000090| 61 66 65 6c 79 20 63 68 | 65 63 6b 73 20 61 20 73 |afely ch|ecks a s|
|000000a0| 75 73 70 65 63 74 20 70 | 6f 69 6e 74 65 72 2c 20 |uspect p|ointer, |
|000000b0| 72 65 74 75 72 6e 69 6e | 67 20 74 72 75 65 20 69 |returnin|g true i|
|000000c0| 66 20 69 74 20 70 6f 69 | 6e 74 73 20 74 6f 20 61 |f it poi|nts to a|
|000000d0| 20 76 61 6c 69 64 20 77 | 69 6e 64 6f 77 2e 0d 0d | valid w|indow...|
|000000e0| 48 49 53 54 4f 52 59 3a | 0d 36 2f 31 33 2f 39 36 |HISTORY:|.6/13/96|
|000000f0| 20 64 67 70 20 77 72 6f | 74 65 20 69 74 2e 0d 2a | dgp wro|te it..*|
|00000100| 2f 0d 23 69 66 6e 64 65 | 66 20 5f 5f 4c 4f 57 4d |/.#ifnde|f __LOWM|
|00000110| 45 4d 5f 5f 0d 09 23 69 | 6e 63 6c 75 64 65 20 3c |EM__..#i|nclude <|
|00000120| 4c 6f 77 4d 65 6d 2e 68 | 3e 0d 23 65 6e 64 69 66 |LowMem.h|>.#endif|
|00000130| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 57 49 4e 44 4f |.#ifndef| __WINDO|
|00000140| 57 53 5f 5f 0d 09 23 69 | 6e 63 6c 75 64 65 20 3c |WS__..#i|nclude <|
|00000150| 57 69 6e 64 6f 77 73 2e | 68 3e 0d 23 65 6e 64 69 |Windows.|h>.#endi|
|00000160| 66 0d 42 6f 6f 6c 65 61 | 6e 20 49 73 57 69 6e 64 |f.Boolea|n IsWind|
|00000170| 6f 77 28 57 69 6e 64 6f | 77 50 74 72 20 77 69 6e |ow(Windo|wPtr win|
|00000180| 64 6f 77 29 3b 0d 0d 42 | 6f 6f 6c 65 61 6e 20 49 |dow);..B|oolean I|
|00000190| 73 57 69 6e 64 6f 77 28 | 57 69 6e 64 6f 77 50 74 |sWindow(|WindowPt|
|000001a0| 72 20 77 69 6e 64 6f 77 | 29 0d 7b 0d 09 57 69 6e |r window|).{..Win|
|000001b0| 64 6f 77 52 65 66 20 77 | 3d 4c 4d 47 65 74 57 69 |dowRef w|=LMGetWi|
|000001c0| 6e 64 6f 77 4c 69 73 74 | 28 29 3b 0d 09 0d 09 77 |ndowList|();....w|
|000001d0| 68 69 6c 65 28 77 21 3d | 4e 55 4c 4c 29 7b 0d 09 |hile(w!=|NULL){..|
|000001e0| 09 69 66 28 28 57 69 6e | 64 6f 77 52 65 66 29 77 |.if((Win|dowRef)w|
|000001f0| 69 6e 64 6f 77 3d 3d 77 | 29 72 65 74 75 72 6e 20 |indow==w|)return |
|00000200| 31 3b 0d 09 09 77 3d 47 | 65 74 4e 65 78 74 57 69 |1;...w=G|etNextWi|
|00000210| 6e 64 6f 77 28 77 29 3b | 0d 09 7d 0d 09 72 65 74 |ndow(w);|..}..ret|
|00000220| 75 72 6e 20 30 3b 0d 7d | 00 00 00 00 00 00 00 00 |urn 0;.}|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000290| 00 00 ff 2b fc f5 f5 f5 | f5 00 00 00 f9 f9 f9 00 |...+....|........|
|000002a0| 00 00 ff 2b 2b 2b 2b 2b | 2b 00 00 f9 f9 f9 00 00 |...+++++|+.......|
|000002b0| 0a 49 73 57 69 6e 64 6f | 77 2e 63 6e 02 00 00 00 |.IsWindo|w.cn....|
|000002c0| 54 45 58 54 43 57 49 45 | 01 00 00 78 01 e0 00 00 |TEXTCWIE|...x....|
|000002d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 78 01 e0 |..TEXTCW|IE...x..|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 ad e5 d5 1d 00 00 | 01 a8 00 00 01 9a fc 2b |........|.......+|
|00000300| ff 00 00 00 00 f9 f9 f9 | 00 2b fc 2a 2a 2a f5 2b |........|.+.***.+|
|00000310| ff 00 00 00 f9 f9 f9 00 | 00 2b fc 2a 2a 2a f5 2b |........|.+.***.+|
|00000320| ff 00 00 f9 f9 f9 00 00 | 00 2b fc f5 f5 f5 f5 2b |........|.+.....+|
|00000330| ff 00 f9 f9 f9 00 00 00 | 00 2b 2b 2b 2b 2b 2b 2b |........|.+++++++|
|00000340| ff f9 f9 f9 00 00 00 00 | 00 2b 2b 2b 2b 2b 2b 2b |........|.+++++++|
|00000350| ff f9 f9 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000360| 00 00 d8 d8 d8 d8 d8 d8 | ff ff 00 00 00 00 00 00 |........|........|
|00000370| d8 d8 d8 d8 d8 d8 d8 d8 | d8 d8 00 ff 00 00 00 d8 |........|........|
|00000380| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 03 | 00 04 00 3e 00 04 02 5d |........|...>...]|
|000003b0| 02 63 00 3e 00 04 02 5d | 02 63 ad eb 74 ee 00 00 |.c.>...]|.c..t...|
|000003c0| 00 e2 00 00 01 06 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000003d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000003e0| 00 00 00 46 01 bf 23 2c | 38 30 00 00 00 1c 00 46 |...F..#,|80.....F|
|000003f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000400| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000410| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+