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.
63 lines
758 B
63 lines
758 B
/*
|
|
* Pts.cpp
|
|
*
|
|
* Author: BreenH
|
|
*
|
|
* A dummy licensing policy for Personal TS.
|
|
*/
|
|
|
|
/*
|
|
* Includes
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
#include "lscore.h"
|
|
#include "session.h"
|
|
#include "pts.h"
|
|
|
|
/*
|
|
* Class Implementation
|
|
*/
|
|
|
|
/*
|
|
* Creation Functions
|
|
*/
|
|
|
|
CPtsPolicy::CPtsPolicy(
|
|
) : CPolicy()
|
|
{
|
|
}
|
|
|
|
CPtsPolicy::~CPtsPolicy(
|
|
)
|
|
{
|
|
}
|
|
|
|
/*
|
|
* Administrative Functions
|
|
*/
|
|
|
|
ULONG
|
|
CPtsPolicy::GetFlags(
|
|
)
|
|
{
|
|
return(LC_FLAG_INTERNAL_POLICY | LC_FLAG_LIMITED_INIT_ONLY);
|
|
}
|
|
|
|
ULONG
|
|
CPtsPolicy::GetId(
|
|
)
|
|
{
|
|
return(0);
|
|
}
|
|
|
|
NTSTATUS
|
|
CPtsPolicy::GetInformation(
|
|
LPLCPOLICYINFOGENERIC lpPolicyInfo
|
|
)
|
|
{
|
|
UNREFERENCED_PARAMETER(lpPolicyInfo);
|
|
|
|
return(STATUS_NOT_SUPPORTED);
|
|
}
|
|
|