Using NDdeSetTrustedShare to Grant Trusted Status

The NDdeSetTrustedShare function is used by a DDE server to grant trusted status to a DDE share.

The following example demonstrates how to grant trusted status to a DDE share:

BOOL MyTrustShare( LPSTR lpszShareName )

{

// Grant trusted status.

if( NDdeSetTrustedShare( NULL, lpszShareName,

NDDE_TRUST_SHARE_INIT | NDDE_TRUST_SHARE_START

) == NDDE_NO_ERROR )

return TRUE;

else return FALSE;

}

The following example shows how you could call the MyTrustShare function to grant trusted status to the existing share MyDdeShare$:

MyTrustShare( "MyDdeShare$" );

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database