Collaboration diagram for CBS_GSupport:
Static Public Member Functions | |
void | FreeGSupportLib (LPCTSTR lpFileName, UINT nLine) |
LPCTSTR | GetAppName (LPTSTR *lpFilePart) |
HINSTANCE | GetInstance () |
CBS_ResTrack * | GetResTrack () |
DWORD | GetResTrackMBTime () |
CBS_Trace * | GetTrace () |
BOOL | IsLibLoaded () |
void | LoadGSupportLib (LPCTSTR lpFileName, UINT nLine) |
BOOL | SetResTrack (CBS_ResTrack *pNewTrack) |
DWORD | SetResTrackDefaultMBTime () |
DWORD | SetResTrackInfiniteMBTime () |
DWORD | SetResTrackMBTime (DWORD dwNewTime) |
|
Free the library. The application should not use any component of the library after this call is made. For each 'load' call a referece count is increased, the library is actually freed when the referece count is zero. If the application is terminated before the library is successfully freed, the Resource Trace will report an error.
|
|
See return.
|
|
See return.
|
|
See return.
|
|
See return.
|
|
See return.
|
|
See return.
|
|
Loads GSupport library. This function must be invoked before the application could use GSupport. The function could be called more then once, but for each call there must be a call to FreeGSupportLib. Each call is registered in the Resource Track. If there are more 'load' calls then 'free', the library will not be freed and the Resource Trace will report an error when the application exits.
|
|
Sets a new resources track object to GSupport. If the application wants to use another resources track object, it can set it to GSupport because it make sense to use one resources track object in the application. The currently used object will be merged with the new object and then emptied. All resources registration will be done to the new object.
|
|
Sets the Resource Track's message box default timeout (5 second).
|
|
Sets the Resource Track's message box timeout to infinite ( -1 ).
|
|
Sets a timeout to the Resource Track's message box that is displayed if a Resource leak was detected.
|
Bitspot AG |
||
Phone: |
+41 41 755 11 22 |
|
Fax: |
+41 41 755 11 31 |
|
e-mail: |
||
Web: |
||