未分类--Windows API--DWordToChar

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

DWordToChar Function

--------------------------------------------------------------------------------

Converts a value of type DWORD to a value of type CHAR.
转换一个DWORD类型的值到一个CHAR类型的值。
Syntax

HRESULT DWordToChar(         
DWORD dwOperand,
CHAR *pch
);
Parameters

dwOperand
[in] The value to be converted.
被转换的值。
pch
[out] A pointer to the converted value.
一个指针指向转换后的值。
In the case where the conversion causes a truncation of the original value, the function returns INTSAFE_E_ARITHMETIC_OVERFLOW and this parameter is not valid.
在转换引起原始值截断的情况下这个函数返回INTSAFE_E_ARITHMETIC_OVERFLOW并且这个参数是无效的。
Return Value

Returns S_OK if successful, or an error value otherwise.
如果成功返回S_OK,否则返回一个错误值。
Remarks

This is one of a set of inline functions designed to provide type conversions and perform validity checks with minimal impact on performance.
这个是设计的一组内联函数中的一个目的是提供类型转换和在性能上使用最小的影响执行有效性检查。
Function Information

Header intsafe.h
Import library None

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值