⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myguiddef.h

📁 nsis是一个流传比较广的程序安装和解安装封装软件
💻 H
字号:
/* * MyGuidDef.h *  * This file is a part of LZMA compression module for NSIS. *  * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov * Modifications Copyright (C) 2003-2006 Amir Szekely <kichik@netvision.net.il> *  * Licensed under the Common Public License version 1.0 (the "License"); * you may not use this file except in compliance with the License. *  * Licence details can be found in the file COPYING. *  * This software is provided 'as-is', without any express or implied * warranty. */#ifndef GUID_DEFINED#define GUID_DEFINED#include "Types.h"typedef struct {  UInt32 Data1;  UInt16 Data2;  UInt16 Data3;  unsigned char Data4[8];} GUID;#ifdef __cplusplus#define REFGUID const GUID &#else#define REFGUID const GUID *#endif#define REFCLSID REFGUID#define REFIID REFGUID#ifdef __cplusplusinline bool operator==(REFGUID g1, REFGUID g2){   for (int i = 0; i < (int)sizeof(g1); i++)    if (((unsigned char *)&g1)[i] != ((unsigned char *)&g2)[i])      return false;  return true;}inline bool operator!=(REFGUID g1, REFGUID g2) { return !(g1 == g2); }#endif#ifdef __cplusplus  #define MY_EXTERN_C extern "C"#else  #define MY_EXTERN_C extern#endif#endif // GUID_DEFINED#ifdef DEFINE_GUID#undef DEFINE_GUID#endif#ifdef INITGUID  #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \    MY_EXTERN_C const GUID name = { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }#else  #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \    MY_EXTERN_C const GUID name#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -