You should describe what kind of problems you have. Don't you know how to write the code, is the card not receiving the command, is it not responding properly to it?
MSDN explains pretty well
] how to use SCardTransmit to send commands. You have to pay attention to parameters.
Maybe if you can explain what kind of APDU command you want to send and what the problem is we could provide better help.