GetSMTPServerPort

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetSMTPServerPort (BlackIceDEVMODE* pDevMode, LPTSTR pStr, DWORD* pSize);

Description

Returns the port of the SMTP Server.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pStr                                                - pointer to string to store the port of the server

DWORD* pSize                                            - pointer to size in bytes of the pStr parameter. If the size of the pStr is not enough the function returns FALSE and the pSize will contain the required size in bytes.

Return value

TRUE on success otherwise FALSE.

Programming Notes

None

Code Example

None