1 /* 2 * PROJECT: ReactOS kernel-mode tests 3 * LICENSE: LGPLv2+ - See COPYING.LIB in the top level directory 4 * PURPOSE: Kernel-Mode Test Suite UUIDs test 5 * PROGRAMMER: Pierre Schweitzer <pierre@reactos.org> 6 */ 7 8 #include <kmt_test.h> 9 10 #define NDEBUG 11 #include <debug.h> 12 13 START_TEST(ExUuid) 14 { 15 UUID Uuid; 16 NTSTATUS Status; 17 18 Status = ExUuidCreate(&Uuid); 19 ok(Status == STATUS_SUCCESS, "ExUuidCreate returned unexpected status: %lx\n", Status); 20 ok((Uuid.Data3 & 0x1000) == 0x1000, "Invalid UUID version: %x\n", (Uuid.Data3 & 0xF000)); 21 } 22