Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
1.8 KiB

/*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
lsapi.idl
Abstract:
Author:
Arthur Hanson (arth) Jan 20-1994
Environment:
User Mode
Revision History:
--*/
[
uuid(57674CD0-5200-11CE-A897-08002B2E9C6D),
version(0.0),
#ifdef __midl
ms_union,
#endif // __midl
pointer_default(unique)
]
interface lsapirpc
{
//
// Import a dummy interface containing #includes for public .h files. This
// trick is necessary so that midl will only generate marshalling routines
// for subtypes that are relevant to the parameters specified on the RPC
// interface. midl also ingores function prototypes contained therein.
//
import "llsimp.idl" ;
//
// Emit these constants into the generated file.
//
cpp_quote("#define LLS_LPC_ENDPOINT \"llslpc\"")
//
// Note: Must use quad backslash to emit two backslashes into #define
// which when compiled will boil down to single backslash
//
cpp_quote("#define LLS_NP_ENDPOINT \"\\\\pipe\\\\llsrpc\"")
typedef [string] LPWSTR PNAMEW;
typedef [string] LPSTR PNAMEA;
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//
// Licensing API's
//
NTSTATUS
LlsrLicenseRequestW(
[out] LPDWORD LicenseHandle,
[in, string] LPWSTR Product,
[in] ULONG VersionIndex,
[in] BOOLEAN IsAdmin,
[in] ULONG DataType,
[in] ULONG DataSize,
[in, size_is(DataSize)] PBYTE Data
);
NTSTATUS
LlsrLicenseFree(
[in] DWORD LicenseHandle
);
}