大网数据广告活动
网络与域名解析

Strings (RPC)

· 52CE 我爱测

Three strings types and Remote Procedure Call (RPC).

There are three strings types denoted by the following ending sub-strings in the format character.

Type Substring
Character string CSTRING
Wide character string WSTRING
String-able structure SSTRING

Nonconformant Strings

An example of nonconformant string is a [string] on a fixed-size array.

FC_CSTRING | FC _WSTRING 
FC_PAD 
string_size<2>

Conformant Strings

FC_C_CSTRING | FC_C_WSTRING
FC_PAD 

–or–

FC_C_CSTRING | FC_C_WSTRING 
FC_STRING_SIZED 
conformance_description<> 

The first format describes common strings, like a [string] char * argument. A sized conformant string has the latter description.

The conformance_description<> is a correlation descriptor and has 4 or 6 bytes depending on whether /robust is used.

Structure Strings

The following is a nonconformant string-able structure:

FC_SSTRING 
element_size<1> 
number_of_elements<2>

Conformant string-able structure:

FC_C_SSTRING 
element_size<1>

–or –

FC_C_SSTRING 
elements_size<1> 
FC_STRING_SIZED FC_PAD 
conformance_description<>

The latter description is for a sized string-able structure.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。