| 1 | -- $Id: States.sql,v 1.5 2000-08-02 01:01:36 bird Exp $ | 
|---|
| 2 | -- | 
|---|
| 3 | -- Insert states into the state table. | 
|---|
| 4 | -- | 
|---|
| 5 | --USE odin32; | 
|---|
| 6 |  | 
|---|
| 7 | DELETE FROM state; | 
|---|
| 8 |  | 
|---|
| 9 | --      refcode color    weight  name                       description | 
|---|
| 10 | INSERT INTO state | 
|---|
| 11 | VALUES (0, '#000000',   0,  'Not Implemented', | 
|---|
| 12 | 'Used only in the API Database.<br>\n(You can''t have a function which is | 
|---|
| 13 | Not Implemented in the source, it will then become a Stub.)' | 
|---|
| 14 | ); | 
|---|
| 15 |  | 
|---|
| 16 | INSERT INTO state | 
|---|
| 17 | VALUES (1, '#0010E0',   5,  'Stub', | 
|---|
| 18 | 'Stub-function. A function which does nothing.<br>\n | 
|---|
| 19 | It logs the call (optional) and returns.<p>\n | 
|---|
| 20 | <tt>Example:</tt> AreFileApisANSI() logs that the function is called and then it returns TRUE.' | 
|---|
| 21 | ); | 
|---|
| 22 |  | 
|---|
| 23 | INSERT INTO state | 
|---|
| 24 | VALUES (2, '#afaf00',  45,  'Partially', | 
|---|
| 25 | 'Partially implemented but <tt>not</tt> tested.<br>\n | 
|---|
| 26 | The entire functionality of the API is not implemented.<p>\n | 
|---|
| 27 | <tt>Example:</tt> If GetModuleFileName didn''t work for System Dlls, like | 
|---|
| 28 | Kernel32, User32, GDI32,..., it is only partially implemented.' | 
|---|
| 29 | ); | 
|---|
| 30 |  | 
|---|
| 31 | INSERT INTO state | 
|---|
| 32 | VALUES (3, '#e0e000',  50,  'Partially Tested', | 
|---|
| 33 | 'Partially implemented, tested and approved.<br> | 
|---|
| 34 | The implemented part of the API is tested and approved by someone. (Ideally | 
|---|
| 35 | this someone is not the one who wrote the code... But do as you like.)' | 
|---|
| 36 | ); | 
|---|
| 37 |  | 
|---|
| 38 | INSERT INTO state | 
|---|
| 39 | VALUES (4, '#00cc00',  90,  'Completely', | 
|---|
| 40 | 'Completely implemented but not tested.<br>\n | 
|---|
| 41 | You have completed the implementation. It behaves like the original Win32 API. | 
|---|
| 42 | (At least you believe this is the case, though tests may tell something else...)' | 
|---|
| 43 | ); | 
|---|
| 44 |  | 
|---|
| 45 | INSERT INTO state | 
|---|
| 46 | VALUES (5, '#00ff00', 100,  'Completely Tested', | 
|---|
| 47 | 'Completely implemented, tested and approved.<br>\n | 
|---|
| 48 | Someone have actually verified that this API behaves like the original Win32 API. | 
|---|
| 49 | (Ideally this someone is not the one who wrote the code... But do as you like.)' | 
|---|
| 50 | ); | 
|---|
| 51 |  | 
|---|
| 52 | INSERT INTO state | 
|---|
| 53 | VALUES (6, '#50afaf',  45,  'Open32 Partially', | 
|---|
| 54 | 'Wrapping an Open32 call. Partially implemented and not tested.<br>\n | 
|---|
| 55 | The entire functionality of the API is not implemented.' | 
|---|
| 56 | ); | 
|---|
| 57 |  | 
|---|
| 58 | INSERT INTO state | 
|---|
| 59 | VALUES (7, '#70e0e0',  50,  'Open32 Partially Tested', | 
|---|
| 60 | 'Wrapping an Open32 call. Partially implemented, tested and approved.<br>\n | 
|---|
| 61 | The implemented part of the API is tested and approved by someone.' | 
|---|
| 62 | ); | 
|---|
| 63 |  | 
|---|
| 64 | INSERT INTO state | 
|---|
| 65 | VALUES (8, '#7090d8',  90,  'Open32 Completely', | 
|---|
| 66 | 'Wrapping an Open32 call. Completely implemented, but not tested.<br>\n | 
|---|
| 67 | You have completed the implementation. It behaves like the original Win32 API. | 
|---|
| 68 | (At least you believe this is the case, though tests may tell something else...)' | 
|---|
| 69 | ); | 
|---|
| 70 |  | 
|---|
| 71 | INSERT INTO state | 
|---|
| 72 | VALUES (9, '#afbfff', 100,  'Open32 Completely Tested', | 
|---|
| 73 | 'Wrapping an Open32 call. Completely implemented, tested and approved. | 
|---|
| 74 | Someone have actually verified that this API behaves like the original Win32 API.' | 
|---|
| 75 | ); | 
|---|
| 76 |  | 
|---|
| 77 | INSERT INTO state | 
|---|
| 78 | VALUES (99,'#aa0000',  25,  'Unknown', | 
|---|
| 79 | 'Used only by the Odin32 API Database update utility when it cannot determinate the | 
|---|
| 80 | function state.<br> | 
|---|
| 81 | This API requires attention, check the logs!' | 
|---|
| 82 | ); | 
|---|
| 83 |  | 
|---|