INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: String Manipulation Functions"
project: "Visual Eiffel Win32 Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: winlib
class WAPI_STRING_MANIPULATION_FUNCTIONS
feature -- Access

FormatMessage (dwflags: BIT 32; lpsource: POINTER; dwmessageid: INTEGER; dwlanguageid: INTEGER; lpbuffer: POINTER; nsize: INTEGER; arguments: POINTER): INTEGER
-- The 'FormatMessage' function formats a message string.
-- The function requires a message definition as input.
-- The message definition can come from a buffer passed into the function.
-- It can come from a message table resource in an already-loaded module.
-- Or the caller can ask the function to search the system's message table
-- resource(s) for the message definition. The function finds the message
-- definition in a message table resource based on a message identifier
-- and a language identifier. The function copies the formatted message
-- text to an output buffer, processing any embedded insert sequences
-- if requested.
require
correct_lpbuffer: lpbuffer /= default_pointer

LoadString (hinst, wid: INTEGER; lpbuffer: POINTER; cchbuffer: INTEGER): INTEGER
-- The 'LoadString' function loads a string resource from the executable
-- file associated with a specified module, copies the string into
-- a buffer, and appends a terminating null character.
require
correct_lpbuffer: lpbuffer /= default_pointer

lstrlen (lpstring: POINTER): INTEGER
-- The `lstrlen' function returns the length in bytes
-- of the specified string (not including the terminating null character).
require
correct_lpstring: lpstring /= default_pointer

frozen MultiByteToWideChar (codepage: INTEGER; dwflags: BIT 32; lpmultibytestr: POINTER; cchmultibyte: INTEGER; lpwidecharstr: POINTER; cchwidechar: INTEGER): INTEGER
-- The `MultiByteToWideChar' function maps a character string to a
-- wide-character (Unicode) string. The character string mapped by
-- this function is not necessarily from a multibyte character set.

frozen WideCharToMultiByte (codepage: INTEGER; dwflags: BIT 32; lpwidecharstr: POINTER; cchwidechar: INTEGER; lpmultibytestr: POINTER; cchmultibyte: INTEGER; lpdefaultchar: POINTER; lpuseddefaultchar: POINTER): INTEGER
-- The `WideCharToMultiByte' function maps a wide-character string
-- to a new character string. The new character string is not
-- necessarily from a multibyte character set.
end -- class WAPI_STRING_MANIPULATION_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES