| 368 | |
| 369 | |
| 370 | class CustomHeader(NDRPacket): |
| 371 | ALIGNMENT = (4, 8) |
| 372 | fields_desc = [ |
| 373 | NDRIntField("totalSize", 0), |
| 374 | NDRIntField("headerSize", 0), |
| 375 | NDRIntField("dwReserved", 0), |
| 376 | NDRIntEnumField("destCtx", 2, {2: "MSHCTX_DIFFERENTMACHINE"}), |
| 377 | NDRIntField("cIfs", None, size_of="pSizes"), |
| 378 | NDRPacketField("classInfoClsid", GUID(), GUID), |
| 379 | NDRFullEmbPointerField( |
| 380 | NDRConfPacketListField( |
| 381 | "pclsid", [GUID()], GUID, count_from=lambda pkt: pkt.cIfs |
| 382 | ), |
| 383 | ), |
| 384 | NDRFullEmbPointerField( |
| 385 | NDRConfFieldListField( |
| 386 | "pSizes", None, NDRIntField("", 0), count_from=lambda pkt: pkt.cIfs |
| 387 | ), |
| 388 | ), |
| 389 | NDRFullEmbPointerField(NDRIntField("pdwReserved", None)), |
| 390 | ] |
| 391 | |
| 392 | |
| 393 | class _ActivationPropertiesField(NDRSerializeType1PacketListField): |
no test coverage detected
searching dependent graphs…