Blame include/ntapi/nt_guid.h

dd89bb
#ifndef _NT_GUID_H_
dd89bb
#define _NT_GUID_H_
dd89bb
414ad3
#include "nt_abi.h"
1359b3
#include "nt_object.h"
dd89bb
dd89bb
typedef struct _nt_guid_str_utf16 {
dd89bb
	wchar16_t	lbrace;
dd89bb
	wchar16_t	group1[8];
dd89bb
	wchar16_t	dash1;
dd89bb
	wchar16_t	group2[4];
dd89bb
	wchar16_t	dash2;
dd89bb
	wchar16_t	group3[4];
dd89bb
	wchar16_t	dash3;
dd89bb
	wchar16_t	group4[4];
dd89bb
	wchar16_t	dash4;
dd89bb
	wchar16_t	group5[12];
dd89bb
	wchar16_t	rbrace;
dd89bb
} nt_guid_str_utf16, nt_uuid_str_utf16;
dd89bb
fea48d
typedef struct _nt_guid_str_utf8 {
fea48d
	uint8_t		lbrace;
fea48d
	uint8_t		group1[8];
fea48d
	uint8_t		dash1;
fea48d
	uint8_t		group2[4];
fea48d
	uint8_t		dash2;
fea48d
	uint8_t		group3[4];
fea48d
	uint8_t		dash3;
fea48d
	uint8_t		group4[4];
fea48d
	uint8_t		dash4;
fea48d
	uint8_t		group5[12];
fea48d
	uint8_t		rbrace;
fea48d
	uint8_t		null;
fea48d
} nt_guid_str_utf8, nt_uuid_str_utf8;
fea48d
dd89bb
typedef void __fastcall ntapi_tt_guid_copy(
dd89bb
	__out	nt_guid *	pguid_dst,
dd89bb
	__in	const nt_guid *	pguid_src);
dd89bb
dd89bb
typedef int32_t __fastcall ntapi_tt_guid_compare(
dd89bb
	__in	const nt_guid *	pguid_dst,
dd89bb
	__in	const nt_guid *	pguid_src);
dd89bb
701eb2
typedef void __fastcall ntapi_tt_guid_to_string_utf16(
dd89bb
	__in	const nt_guid *		guid,
dd89bb
	__out	nt_guid_str_utf16 *	guid_str);
dd89bb
701eb2
typedef int32_t __fastcall ntapi_tt_string_to_guid_utf16(
a820b0
	__in	const nt_guid_str_utf16 *	guid_str,
a820b0
	__out	nt_guid *			guid);
dd89bb
fea48d
typedef void __fastcall ntapi_tt_guid_to_string_utf8(
fea48d
	__in	const nt_guid *		guid,
fea48d
	__out	nt_guid_str_utf8 *	guid_str);
fea48d
5d7f04
typedef int32_t __fastcall ntapi_tt_string_to_guid_utf8(
5d7f04
	__in	const char *			guid_str,
5d7f04
	__out	nt_guid *			guid);
5d7f04
dd89bb
#endif