-
Notifications
You must be signed in to change notification settings - Fork 1
/
UtilityFx.h
31 lines (23 loc) · 1.05 KB
/
UtilityFx.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : [email protected]
// Web : https://crystalmark.info/
// License : The MIT License
/*---------------------------------------------------------------------------*/
#pragma once
////------------------------------------------------
// Debug
////------------------------------------------------
void SetDebugMode(DWORD mode);
void DebugPrint(CString cstr);
////------------------------------------------------
// File Information
////------------------------------------------------
int GetFileVersion(const TCHAR* fileName, TCHAR* version = NULL);
BOOL IsFileExist(const TCHAR* fileName);
////------------------------------------------------
// Utility
////------------------------------------------------
ULONGLONG GetTickCountFx();
ULONG64 B8toB64(BYTE b0, BYTE b1 = 0, BYTE b2 = 0, BYTE b3 = 0, BYTE b4 = 0, BYTE b5 = 0, BYTE b6 = 0, BYTE b7 = 0);
DWORD B8toB32(BYTE b0, BYTE b1 = 0, BYTE b2 = 0, BYTE b3 = 0);