srv_free

Frees memory allocated with srv_alloc or srv_config_alloc.


Important This Open Data Services function or macro is only supported in Microsoft® SQL Server™ version 7.0 for backward compatibility.


For more information about Open Data Services functions or macros supported for backward compatibility, see Open Data Services (Level 3).

Syntax

int srv_free ( void * ptr );

Arguments
ptr
Is a pointer to the source of the data to be freed.
Returns

SUCCEED if the memory was successfully freed; otherwise, FAIL.

Remarks

Memory allocated with srv_alloc or srv_config_alloc is not freed unless you free it by using srv_free, which is equivalent to the Microsoft Win32® GlobalFree function.

See Also
srv_alloc srv_config_alloc

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.