/// <summary> /// samr_SAMPR_LOGON_HOURSExprEval_0003 defined by MIDL. /// </summary> /// <param name="rpcStub">RpceStub structure.</param> internal static void samr_SAMPR_LOGON_HOURSExprEval_0003(RpceStub rpcStub) { IntPtr pStackTop = rpcStub.GetStackTop(); _SAMPR_LOGON_HOURS logonHours = TypeMarshal.ToStruct<_SAMPR_LOGON_HOURS>(pStackTop); rpcStub.SetOffset(0); rpcStub.SetMaxCount((uint)((logonHours.UnitsPerWeek + 7) / 8)); }
/// <summary> /// samr_SAMPR_USER_LOGON_INFORMATIONExprEval_0000 defined by MIDL. /// </summary> /// <param name="rpcStub">RpceStub structure.</param> internal static void samr_SAMPR_USER_LOGON_INFORMATIONExprEval_0000(RpceStub rpcStub) { IntPtr pStackTop = rpcStub.GetStackTop(); _SAMPR_USER_LOGON_INFORMATION logonInfo = TypeMarshal.ToStruct<_SAMPR_USER_LOGON_INFORMATION>(pStackTop); rpcStub.SetOffset(0); rpcStub.SetMaxCount((uint)((logonInfo.LogonHours.UnitsPerWeek + 7) / 8)); }
/// <summary> /// logon__NETLOGON_DELTA_USERExprEval_0000 defined by MIDL. /// </summary> /// <param name="rpcStub">RpceStub structure.</param> internal static void logon__NETLOGON_DELTA_USERExprEval_0000(RpceStub rpcStub) { IntPtr pStackTop = rpcStub.GetStackTop(); _NLPR_LOGON_HOURS nlprLogonHours = TypeMarshal.ToStruct<_NLPR_LOGON_HOURS>(pStackTop); rpcStub.SetOffset(0); rpcStub.SetMaxCount((uint)((nlprLogonHours.UnitsPerWeek + 7) / 8)); }