ILMNetDmxSecurityMgr::RegisterGraphSecurity

Summary

Registers a security handler for a specified graph.

Syntax

#include "ILMNetDmx2.h"

Language Syntax
C HRESULT ILMNetDmxSecurityMgr_RegisterGraphSecurity((pSecurityMgr, regFlags, pGraph, pSecurity, pdwRegister)
C++ HRESULT RegisterGraphSecurity(regFlags, pGraph, pSecurity, pdwRegister)

Parameters

ILMNetDmxSecurityMgr *pSecurityMgr

Pointer to an ILMNetDmxSecurityMgr interface.

NetDmxSecurityMgr_Register regFlags

NetDmxSecurityMgr_Register enumeration constants that control the registration process.

IUnknown *pGraph

Interface pointer of the DirectShow graph, as returned from iltmmPlay::GetSubObject(ltmmPlay_Obj_FilterGraph), iltmmConvert::GetSubObject(ltmmConvert_Obj_FilterGraph), and iltmmCapture::GetSubObject(ltmmCapture_Obj_FilterGraph).

ILMNetDmxSecurity *pSecurity

ILMNetDmxSecurity interface pointer of the user provided security handler to register.

DWORD *pdwRegister

Pointer to a DWORD variable that receives the security handler registration handle.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For a C/C++ example, refer to A Complete Example: Server and Client.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.