adShutdown
Destroys the SDK interface object and frees any allocated memory.
- AdResult adShutdown(
- AdInterfacePtr theInterface );
Routine | Required Header | Distribution |
---|---|---|
adShutdown | <ad.h> | SDKZIP |
Return Value
This function returns AdResult_NO_ERROR upon success. Otherwise a valid AdResult error condition is returned. (see remarks)
Parameters
- theInterface
- [in] SDK interface previously initialized using adInitialize
Remarks
Calling this function will release the AdInterfacePtr and free all internally allocated memory. The AdInterfacePtr can no longer be used by the SDK.
AdResult_INVALID_PARAMETERS will be returned in theInterface is invalid.
Section Reference: Gamespy Advertising SDK
See Also: AdInitialize