gpRejectTransfer
This function is used to reject a file transfer request.
- GPResult gpRejectTransfer(
- GPConnection * connection,
- GPTransfer transfer,
- const gsi_char * message );
Routine | Required Header | Distribution |
---|---|---|
gpRejectTransfer | <gp.h> | SDKZIP |
Return Value
This function returns GP_NO_ERROR upon success. Otherwise a valid GPResult is returned.
Parameters
- connection
- [in] A GP connection interface.
- transfer
- [in] A pointer to a GPTransfer object.
- message
- [in] An optional message to send along with the rejection.
Remarks
This function is used to reject an incoming files request. This will also free the transfer, so it should not be referenced again once rejected.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
gpRejectTransfer | gpRejectTransferA | gpRejectTransferW |
gpRejectTransferW and gpRejectTransferA are UNICODE and ANSI mapped versions of gpRejectTransfer. The arguments of gpRejectTransferA are ANSI strings; those of gpRejectTransferW are wide-character strings.
Section Reference: Gamespy Presence SDK
See Also: gpSendFiles, gpAcceptTransfer