INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "The Windows Macro."
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_MACRO
feature -- Conversion

LOWORD (dwvalue: INTEGER): INTEGER
-- The LOWORD retrieves the low-order word
-- from the given 32-bit value

HIWORD (dwvalue: INTEGER): INTEGER
-- The HIWORD retrieves the high-order word
-- from the given 32-bit value

LOBYTE (wvalue: INTEGER): INTEGER
-- The LOBYTE retrieves the low-order byte
-- from the given 16-bit value

HIBYTE (wvalue: INTEGER): INTEGER
-- The HIBYTE retrieves the high-order byte
-- from the given 16-bit value

MAKEWORD (blow, bhigh: INTEGER): INTEGER
-- The MAKEWORD creates an unsigned 16-bit integer by concatenating
-- two given unsigned character values.

MAKELONG (wlow, whigh: INTEGER): INTEGER
-- The MAKELONG creates an unsigned 32-bit value by concatenating
-- two given 16-bit values.

MAKEWPARAM (wlow, whigh: INTEGER): INTEGER

MAKELPARAM (wlow, whigh: INTEGER): INTEGER
-- The MAKELPARAM creates an unsigned 32-bit value for use as an
-- lParam parameter in a message. This function concatenates two given
-- 16-bit values.

RGB (bred, bgreen, bblue: INTEGER): INTEGER
-- The RGB selects a red, green, blue (RGB) color
-- based on the arguments supplied and the color capabilities
-- of the output device

GetRValue (rgb_: INTEGER): INTEGER
-- The `GetRValue' macro retrieves an intensity value for the red component
-- of a 32-bit red, green, blue (RGB) value.

GetGValue (rgb_: INTEGER): INTEGER
-- The `GetGValue' macro retrieves an intensity value for the green
-- component of a 32-bit red, green, blue (RGB) value.

GetBValue (rgb_: INTEGER): INTEGER
-- The `GetBValue' macro retrieves an intensity value for the blue
-- component of a 32-bit red, green, blue (RGB) value.

PALETTERGB (bred, bgreen, bblue: INTEGER): INTEGER

PALETTEINDEX (i: INTEGER): INTEGER

MAKEINTRESOURCE (i: INTEGER): POINTER
-- The MAKEINTRESOURCE converts an integer value to a resource type
-- compatible with Win32 resource-management functions. This function
-- is used in place of a string containing the name of the resource.

INT_TO_PTR (i: INTEGER): POINTER
-- The INT_TO_PTR converts the given INTEGER type to the POINTER type

PTR_TO_INT (p: POINTER): INTEGER
-- The PTR_TO_INT converts the given POINTER type to the INTEGER type

GET_X_LPARAM (dwvalue: INTEGER): INTEGER
-- The The GET_X_LPARAM retrieves the signed x-coordinate 
-- from the low word of the given 32-bit value

GET_Y_LPARAM (dwvalue: INTEGER): INTEGER
-- The The GET_Y_LPARAM retrieves the signed y-coordinate 
-- from the hi word of the given 32-bit value
end -- class WAPI_MACRO

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES