public RopGetPropertiesAllResponse RopGetPropertiesAll(uint objHandle, ushort propertySizeLimit, ushort wantUnicode)
{
this.rawData = null;
this.response = null;
this.responseSOHs = null;
RopGetPropertiesAllRequest getPropertiesAllRequest;
RopGetPropertiesAllResponse getPropertiesAllResponse;
getPropertiesAllRequest.RopId = 0x08;
getPropertiesAllRequest.LogonId = 0x0;
getPropertiesAllRequest.InputHandleIndex = 0x00;
getPropertiesAllRequest.PropertySizeLimit = propertySizeLimit;
getPropertiesAllRequest.WantUnicode = wantUnicode;
this.responseSOHs = this.DoRPCCall(getPropertiesAllRequest, objHandle, ref this.response, ref this.rawData);
getPropertiesAllResponse = (RopGetPropertiesAllResponse)this.response;
// The targetOfRop field indicates that where the Properties get from.
switch (this.targetOfRop)
{
// Verify ExtendedRule's Properties
case TargetOfRop.ForExtendedRules:
this.VerifyRopGetPropertiesAllForExtendedRules(getPropertiesAllResponse);
break;
// Verify DEM's Properties
case TargetOfRop.ForDEM:
this.VerifyRopGetPropertiesAllForDEM(getPropertiesAllResponse);
break;
}
return getPropertiesAllResponse;
}