LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

DiscardBitmap

int DiscardBitmap (int bitmapID);

Purpose

Discards a bitmap object created using one of functions that returns a bitmap ID.

Parameters

Input
Name Type Description
bitmapID int ID of the bitmap object that contains the image. You can obtain the ID from functions such as ClipboardGetBitmap and OGLGetScaledCtrlBitmapOGLGetScaledCtrlBitmap.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Examples

Refer to the following examples that use the DiscardBitmap function:

  • apps\iconedit\iconedit.cws

    Open example
  • toolbox\msgdemo.cws

    Open example
  • userint\ICOViewer.cws

    Open example
  • userint\imagedit.cws

    Open example
  • userint\treeimage.cws

    Open example
  • utility\threading\ThreadPool\ParallelTestInit\ParallelTestInit.cws

    Open example

Log in to get a better experience