WriteUnicodeCharacter()

语法

Result = WriteUnicodeCharacter(#File, Number)
概要
Write a unicode character (2 bytes) to a file.

参数

#File The file to write to.
Number The unicode character value to write.

返回值

Returns nonzero if the operation was successful and zero if it failed.

Remarks

Because of file buffering, this function may return successful even if there is not enough space left on the output device for the write operation. The file must be opened using a write-capable function (i.e. not with ReadFile()).

For an example see the CreateFile() function - with WriteUnicodeCharacter() only a unicode character is written, instead of a string.

参阅

ReadUnicodeCharacter(), WriteAsciiCharacter(), WriteCharacter(), CreateFile(), OpenFile()

已支持操作系统

所有

<- WriteStringN() - File Index - WriteWord() ->