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

📄 wcsutil.h

📁 工业标准通讯OPC协议的客户端测试源代码
💻 H
字号:
// wcsutil.h
//
// (c) Copyright 1998 The OPC Foundation
// ALL RIGHTS RESERVED.
//
// DISCLAIMER:
//  This sample code is provided by the OPC Foundation solely to assist 
//  in understanding the OPC Specifications and may be used
//  as set forth in the License Grant section of the OPC Specification.
//  This code is provided as-is and without warranty or support of any sort
//  and is subject to the Warranty and Liability Disclaimers which appear
//  in the printed OPC Specification.
//
// CREDITS:
//  This code was generously provided to the OPC Foundation by
//  Al Chisholm, Intellution Inc.
//
// CONTENTS:
//


BSTR BSTRFromWSTR(const WCHAR * s, IMalloc *pmem);	// Aloc BSTR and copy WSTR into it
void BSTRFree(BSTR bstr, IMalloc *pmem);			// Free a BSTR
WCHAR * WSTRFromBSTR(const BSTR bstr, IMalloc *pmem);		// Aloc a WSTR and copy a BSTR into it
WCHAR * WSTRClone(const WCHAR *oldstr, IMalloc *pmem);
void WSTRFree(WCHAR * c, IMalloc *pmem);

WCHAR * WSTRFromSBCS(const CHAR *temp, IMalloc *p);
CHAR * SBCSFromWSTR(const WCHAR *temp, IMalloc *p);
void SBCSFree(CHAR *temp, IMalloc *p);


⌨️ 快捷键说明

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