P
pgodfrin
Greetings,
Is there anything out there to make using Win32 modules (Activestate)
not require dusting off my C skills? Case in point - Win32::Service:
GetStatus(hostName, serviceName, status)
The third argument must be a hash reference that will be populated
with entries corresponding to the SERVICE_STATUS structure of the
Win32 API.
Microsoft says:
C++
typedef struct _SERVICE_STATUS {
DWORD dwServiceType;
DWORD dwCurrentState;
DWORD dwControlsAccepted;
DWORD dwWin32ExitCode;
DWORD dwServiceSpecificExitCode;
DWORD dwCheckPoint;
DWORD dwWaitHint;
}SERVICE_STATUS, *LPSERVICE_STATUS;
Do I have remember how to do all that "or-ing" and "and-ing" again?
pg
Is there anything out there to make using Win32 modules (Activestate)
not require dusting off my C skills? Case in point - Win32::Service:
GetStatus(hostName, serviceName, status)
The third argument must be a hash reference that will be populated
with entries corresponding to the SERVICE_STATUS structure of the
Win32 API.
Microsoft says:
C++
typedef struct _SERVICE_STATUS {
DWORD dwServiceType;
DWORD dwCurrentState;
DWORD dwControlsAccepted;
DWORD dwWin32ExitCode;
DWORD dwServiceSpecificExitCode;
DWORD dwCheckPoint;
DWORD dwWaitHint;
}SERVICE_STATUS, *LPSERVICE_STATUS;
Do I have remember how to do all that "or-ing" and "and-ing" again?
pg