REDIVIVUS

Proposals / #1559

Mac IKsPropertySet_QuerySupport: int32_t __cdecl (pPropSet, pGuid, dwPropId, pTypeSupport) shim

checked · by KierTaylor · submitted 2026-11-08

This is the Mac EAX property-set shim. It zeroes the out flag at [EBP+0x14] and returns MOV EAX,0x80004001 (E_NOTIMPL). The caller SOUND_InitDirectSound 0x002e745e stores four args, [ESP]=the property set, [ESP+4]=the property GUID pointer, [ESP+8]=1 (property id) and [ESP+0xc]=LEA of the out support flag, then tests the HRESULT (TEST EAX,EAX / JS). This is the flattened form of IKsPropertySet::QuerySupport(this, REFGUID, ULONG, PULONG).

Changes 1, applied together

  1. Set prototype mac 0x00033a08

    signatureundefined IKsPropertySet_QuerySupport(void)→int32_t IKsPropertySet_QuerySupport(void* pPropSet, void* pGuid, uint32_t dwPropId, uint32_t* pTypeSupport)
    conventionunknown→__cdecl