Issue regarding SetPort function

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Dear all,

I am working on a Language monitor on windows xp. I want to display
custom port Status messages in the spooler window using SetPort
function. The problem is that when i use SetPort function with
PORT_INFO_3 structure, custom status messages are not displayed. I am
giving the code below:


ZeroMemory(&PortInfo3, sizeof(PortInfo3));
PortInfo3.dwStatus = 0;
PortInfo3.pszStatus = L"TEST_STATUS";
PortInfo3.dwSeverity = PORT_STATUS_TYPE_WARNING;
SetPort(NULL,pIniPort->pszPortName,3,(LPBYTE)&PortInfo3);

I searched in the net and found that it is a Microsoft bug with SetPort
function, so customized messages cannot be displayed. If this is a
problem could anyone please suggest an alternate solution.

If some one can help me in this regard, it would be of great help to
me. Thanks in advance.

Regards,

Karunya

.



Relevant Pages

  • Re: Next & Previous buttons dont display data correctly in Access
    ... record counter) and custom buttons. ... NOTE - it is only display that is incorrect - the database remains ... > Exit Sub ...
    (microsoft.public.access.forms)
  • Re: Cant Get a Field to Display the Results of My Formula
    ... Not only was I able to create the formula in the individual file, ... but I also customized it to display a graphical indicator (red, yellow, green ... also displayed in the Master. ... between the date in the Finish field and the date in a custom field ...
    (microsoft.public.project)
  • RE: porting xp gina to vista credential provider
    ... your custom dialog? ... then use it to create my dialogs in the SetSelected method ... available Credential Provider articles, ... It appears that the UI provided by LogonUI is not equipped to display any ...
    (microsoft.public.platformsdk.security)
  • Re: Web.config
    ... "On" Always display custom messages. ... "Off" Always display detailed ASP.NET error information. ... This section sets the authentication policies of the application. ... This section sets the authorization policies of the application. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Outlook 2002 Form Problems
    ... After some testing it appears that Outlook 2002 will handle forms ... that the custom form I ... does it not only remove the active content message, but display the custom ... > item is saved the message class field still shows as IPM.Post.MyForm. ...
    (microsoft.public.outlook)