lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Daniel!

And once more - IMO in function global_OpenService( lua_State *L ) 
Call to OpenService shall be looks like
    h = OpenService( ( SC_HANDLE ) scm, sname, SERVICE_ALL_ACCESS  );
With SC_MANAGER_ALL_ACCESS we cannot send user control codes etc.

Cheers, Denis

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Daniel
Quintela
Sent: Monday, August 21, 2006 10:00 PM
To: Lua list
Subject: [ANN] Win32 API wrappers - General API 1.0.6 beta


Hi everybody:

A new release of General Win32 API wrappers is ready to download.

* Lua 5.1 ready.
* New functions:
     - IsUserAdmin (not a std Win32 api)
     - OpenProcess
     - IsRunning
     - GetWindowThreadProcessId
     - OpenSCManager
     - OpenService
     - CloseServiceHandle
     - QueryServiceStatus
     - ControlService
     - DeleteService

Best regards,
Daniel