Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ICGetBrightness(3mms)

ICSetBrightness(3mms)  —  Subroutines

 
 
 
 
 

Name

 
ICSetBrightness --- Set current brightness value
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 MMRESULT ICSetBrightness(HIC hic,
                         DWORD dwBrightness);
 

 
 
 

Arguments

 
HIC hic
Specifies a handle to a compressor or decompressor.

 
DWORD dwBrightness
Specifies the brightness value. This value ranges from 0 to 10,000.
 
 

Description

 
The ICSetBrightness function sets the current brightness value. This function is only valid when decompressing an image into 8-bit X image format. 
 

Extensions

 
The ICSetBrightness function is a Digital extension to the Microsoft multimedia API specification. 
 
 
 
 

Return Values

 
Returns ICERR_OK if the function is successful; otherwise, it returns one of the following error codes:
 
 

 
ICERR_BADHANDLE@T{ The hic argument is invalid or the compressor or decompressor is not open.  T} ICERR_BADPARAM@T{ The value of the dwBrightness argument is out of range.  T} ICERR_CANTUPDATE@T{ The attribute cannot be modified. T} ICERR_UNSUPPORTED@T{ The function is not supported. T}

 
 
 

See Also

 
 
 
 
 
ICGetBrightness(3mms)
 
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026