| 61 | return FALSE; |
| 62 | } |
| 63 | BOOL CompareIntegerList(PINTEGER_LIST listA, PINTEGER_LIST listB) |
| 64 | { |
| 65 | if (listA == listB) |
| 66 | { |
| 67 | return TRUE; |
| 68 | } |
| 69 | else if (listA == NULL || listB == NULL) |
| 70 | { |
| 71 | return FALSE; |
| 72 | } |
| 73 | else if (listA->Count != listB->Count) |
| 74 | { |
| 75 | return FALSE; |
| 76 | } |
| 77 | else |
| 78 | { |
| 79 | for (ULONG i = 0; i < listA->Count; i++) |
| 80 | { |
| 81 | if (listA->Values[i] != listB->Values[i]) return FALSE; |
| 82 | } |
| 83 | |
| 84 | return TRUE; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | PSTRING_LIST CreateStringList(BOOL ignoreCase) |
| 89 | { |