please dont rip this site Prev Next

Var info  Overview  Group

The Var structure depicts the organization of data in a file-version resource. This structure is not a true C-language structure because it contains variable-length members. This structure was created solely to depict the organization of data in a version resource and does not appear in any of the header files shipped with the Microsoft Platform Software Development Kit (SDK).

The Var structure typically contains a list of language and code page identifier pairs that the version of the application or dynamic-link library (DLL) supports.

Var { 

    WORD  wLength; 

    WORD  wValueLength; 

    WORD  wType; 

    WCHAR szKey[]; 

    WORD  Padding[]; 

    DWORD  Value[]; 

}; 

 

Members

wLength
Specifies the length, in bytes, of the Var structure.
wValueLength
Specifies the length, in bytes, of the Value member.
wType
Specifies the type of data in the version resource. This member is 1 if the version resource contains text data and 0 if the version resource contains binary data.
szKey
Contains the Unicode string “Translation”.
Padding
Contains as many zero words as necessary to align the Value member on a 32-bit boundary.
Value
Specifies an array of one or more values that are language and code page identifier pairs. For additional information, see the following Remarks section.

Remarks

If you use the Var structure to list the languages your application or DLL supports instead of using multiple version resources, use the Value member to contain an array of DWORD values indicating the language and code page combinations supported by this file. The low-order word of each DWORD must contain a Microsoft language identifier, and the high-order word must contain the IBM® code page number. Either high-order or low-order word can be zero, indicating that the file is language or code page independent. If the Var structure is omitted, the file will be interpreted as both language and code page independent.

See Also

VarFileInfo, StringFileInfo, StringTable, VS_VERSION_INFO


file: /Techref/os/win/api/win32/struc/src/str24_1.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/12/28 09:06,
TOP NEW HELP FIND: 
3.139.234.68:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/os/win/api/win32/struc/src/str24_1.htm"> Var</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .