summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_guid.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-07-27 04:01:18 -0400
committermidipix <writeonce@midipix.org>2015-07-27 04:01:18 -0400
commitdd89bb8ad4fe184a34b5dbdda237e640fc82121b (patch)
tree5e80d2da35f5892f92be29f57982b2708e6bd99b /include/ntapi/nt_guid.h
parentdcdadc2702712fa750ed255ed1dfa354522797a0 (diff)
downloadntapi-dd89bb8ad4fe184a34b5dbdda237e640fc82121b.tar.bz2
ntapi-dd89bb8ad4fe184a34b5dbdda237e640fc82121b.tar.xz
entered advanced internal development stage.
Diffstat (limited to 'include/ntapi/nt_guid.h')
-rw-r--r--include/ntapi/nt_guid.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/include/ntapi/nt_guid.h b/include/ntapi/nt_guid.h
new file mode 100644
index 0000000..332a899
--- /dev/null
+++ b/include/ntapi/nt_guid.h
@@ -0,0 +1,37 @@
+#ifndef _NT_GUID_H_
+#define _NT_GUID_H_
+
+#include <psxtypes/psxtypes.h>
+#include <ntapi/nt_object.h>
+
+typedef struct _nt_guid_str_utf16 {
+ wchar16_t lbrace;
+ wchar16_t group1[8];
+ wchar16_t dash1;
+ wchar16_t group2[4];
+ wchar16_t dash2;
+ wchar16_t group3[4];
+ wchar16_t dash3;
+ wchar16_t group4[4];
+ wchar16_t dash4;
+ wchar16_t group5[12];
+ wchar16_t rbrace;
+} nt_guid_str_utf16, nt_uuid_str_utf16;
+
+typedef void __fastcall ntapi_tt_guid_copy(
+ __out nt_guid * pguid_dst,
+ __in const nt_guid * pguid_src);
+
+typedef int32_t __fastcall ntapi_tt_guid_compare(
+ __in const nt_guid * pguid_dst,
+ __in const nt_guid * pguid_src);
+
+typedef void __fastcall ntapi_tt_guid_to_utf16_string(
+ __in const nt_guid * guid,
+ __out nt_guid_str_utf16 * guid_str);
+
+typedef int32_t __fastcall ntapi_tt_utf16_string_to_guid(
+ __in nt_guid_str_utf16 * guid_str,
+ __out nt_guid * guid);
+
+#endif