WTSOpenServer does not return a handle even for the local MC

  • Thread starter Thread starter GFT
  • Start date Start date
G

GFT

Hi,
I'm trying to automate terminal service client. I created the API
calls for the WTSOpenServer in C#, but this call always returns zero
for the handle. I used System.Environment.MachineName as the MC name,
but still get zero handle.
Can somebody help me please.
thanks
gt
 
Please post your code, or at least a short workable sample that shows the
problem.

Willy.

GFT said:
Hi,
I'm trying to automate terminal service client. I created the API
calls for the WTSOpenServer in C#, but this call always returns zero
for the handle. I used System.Environment.MachineName as the MC name,
but still get zero handle.
Can somebody help me please.
thanks
gt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top