Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
This example shows what a call to VSAIsActive looks like. Refer to VsaRpcl Example to see the constant declarations and to see this code in a form you can run with minor modifications.
// Verify that the component is ready to generate events
static bool RpcSampleIsActive(long VSAId)
{
RpcTryExcept
{
HRESULT hr = VSAIsActive(VSAId);
}
RpcExcept(1)
{
LastErrorCode = RpcExceptionCode();
}
RpcEndExcept;
return( (hr == S_OK ? true:false );
}