BASS_WMA_EncodeGetPort

Retrieves the network port for clients to connect to.

DWORD BASS_WMA_EncodeGetPort(
    HWMENCODE handle
);

Parameters

handleThe encoder handle.

Return value

If successful, the port number is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe encoder is not a network encoder, so no port is being used.

See also

BASS_WMA_EncodeOpenNetwork