Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Strings

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

TypeSubstring
Character stringCSTRING
Wide character stringWSTRING
String-able structureSSTRING

 

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.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft