Jump to content

Dllcall Error

Recommended Posts

Look msdn.

BOOL WINAPI CloseDesktop(
  _In_ HDESK hDesktop



Link to comment
Share on other sites

If the aim is just to close a desktop, you don't need to use dllcall directly, as _WinAPI_CloseDesktop() already provides a wrapped call for that. See my SecondDesktop UDF (link in my sig) for an example.

More generally, a tutorial on using dllcall is here; you may also wish to check this out.

Edited by RTFC
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...