DWORD n)
{
static GetSidSubAuthority_Proc s_pfn_Get_Sid_Sub_Authority = NULL;
+ static DWORD zero = 0U;
HMODULE hm_advapi32 = NULL;
if (is_windows_9x () == TRUE)
{
- return NULL;
+ return &zero;
}
if (g_b_init_get_sid_sub_authority == 0)
{
}
if (s_pfn_Get_Sid_Sub_Authority == NULL)
{
- return NULL;
+ return &zero;
}
return (s_pfn_Get_Sid_Sub_Authority (pSid, n));
}
PSID pSid)
{
static GetSidSubAuthorityCount_Proc s_pfn_Get_Sid_Sub_Authority_Count = NULL;
+ static UCHAR zero = 0U;
HMODULE hm_advapi32 = NULL;
if (is_windows_9x () == TRUE)
{
- return NULL;
+ return &zero;
}
if (g_b_init_get_sid_sub_authority_count == 0)
{
}
if (s_pfn_Get_Sid_Sub_Authority_Count == NULL)
{
- return NULL;
+ return &zero;
}
return (s_pfn_Get_Sid_Sub_Authority_Count (pSid));
}