# RemoveWinMsgCallback

int RemoveWinMsgCallback (int panelHandle, int messageNumber);

## Purpose

This function removes the callback function for a specific panel and message number and frees associated memory.

## Parameters

Input
Name | Type | Description
panelHandle | integer | The handle of the CVI panel for which a message callback should be removed.
messageNumber | integer | The number of the message for which you would like to remove an installed callback function.

## Return Value

Name | Type | Description
status | integer | The status code that the function returns. 0 indicates success. A negative value indicates an error. This function may return a Programmer's Toolbox or UI Library error code. Call GetGeneralErrorString to obtain a text description of the error.