Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>unregisterclass()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
UnregisterClass()
Remove a Windows window class and free its resources
------------------------------------------------------------------------------

Syntax
UnregisterClass( <cClass>, <hInst> )   -->   lSuccess

Arguments
<cClass> is a character string giving the name of the class to
be removed.

<hInst> is the handle of the instance of the application.  (As
returned by the _GetInstance() function.)

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
This function removes a window class from Windows, freeing up
its resources.

An application must not call this function if there are any
existing windows of the class.

Example
hInst = _GetInstance()
if  !UnregisterClass( "MyApp", hInst )
     // failed
     quit
endif


See Also: CreateWindow() RegisterClass()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson