C# 클래스 VSNDK.DebugEngine.AD7PortSupplier

상속: IDebugPortSupplier2
파일 보기 프로젝트 열기: blackberry/VSPlugin 1 사용 예제들

공개 메소드들

메소드 설명
AD7PortSupplier ( ) : System

Constructor.

AddPort ( IDebugPortRequest2 pRequest, IDebugPort2 &ppPort ) : int

Adds a port. (http://msdn.microsoft.com/en-ca/library/bb161980.aspx)

CanAddPort ( ) : int

Verifies that a port supplier can add new ports. (http://msdn.microsoft.com/en-ca/library/bb145880.aspx)

Decrypt ( string cipher ) : string

Decrypts a given string.

Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.

EnumPorts ( IEnumDebugPorts2 &ppEnum ) : int

Retrieves a list of all the ports supplied by a port supplier. (http://msdn.microsoft.com/en-ca/library/bb146984.aspx)

GetDescription ( enum_PORT_SUPPLIER_DESCRIPTION_FLAGS pdwFlags, string &pbstrText ) : int

Retrieves the description for the port supplier. (http://msdn.microsoft.com/en-us/library/bb457978.aspx)

GetPort ( System.Guid &guidPort, IDebugPort2 &ppPort ) : int

Gets a port from a port supplier. (http://msdn.microsoft.com/en-ca/library/bb161812.aspx)

GetPortSupplierId ( System.Guid &pguidPortSupplier ) : int

Gets the port supplier identifier. (http://msdn.microsoft.com/en-ca/library/bb146617.aspx)

GetPortSupplierName ( string &pbstrName ) : int

Gets the port supplier name. (http://msdn.microsoft.com/en-ca/library/bb162136.aspx)

RemovePort ( IDebugPort2 pPort ) : int

Removes a port. Not implemented. (http://msdn.microsoft.com/en-ca/library/bb162306.aspx)

비공개 메소드들

메소드 설명
CreatePort ( AD7PortRequest port_request ) : AD7Port

Creates an AD7Port.

verifyAndAddPorts ( ) : int

메소드 상세

AD7PortSupplier() 공개 메소드

Constructor.
public AD7PortSupplier ( ) : System
리턴 System

AddPort() 공개 메소드

Adds a port. (http://msdn.microsoft.com/en-ca/library/bb161980.aspx)
public AddPort ( IDebugPortRequest2 pRequest, IDebugPort2 &ppPort ) : int
pRequest IDebugPortRequest2 An IDebugPortRequest2 object that describes the port to be added.
ppPort IDebugPort2 Returns an IDebugPort2 object that represents the port.
리턴 int

CanAddPort() 공개 메소드

Verifies that a port supplier can add new ports. (http://msdn.microsoft.com/en-ca/library/bb145880.aspx)
public CanAddPort ( ) : int
리턴 int

Decrypt() 공개 메소드

Decrypts a given string.
Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public Decrypt ( string cipher ) : string
cipher string A base64 encoded string that was created /// through the or /// extension methods.
리턴 string

EnumPorts() 공개 메소드

Retrieves a list of all the ports supplied by a port supplier. (http://msdn.microsoft.com/en-ca/library/bb146984.aspx)
public EnumPorts ( IEnumDebugPorts2 &ppEnum ) : int
ppEnum IEnumDebugPorts2 Returns an IEnumDebugPorts2 object containing a list of ports supplied.
리턴 int

GetDescription() 공개 메소드

Retrieves the description for the port supplier. (http://msdn.microsoft.com/en-us/library/bb457978.aspx)
public GetDescription ( enum_PORT_SUPPLIER_DESCRIPTION_FLAGS pdwFlags, string &pbstrText ) : int
pdwFlags enum_PORT_SUPPLIER_DESCRIPTION_FLAGS Metadata flags for the description.
pbstrText string Description of the port supplier.
리턴 int

GetPort() 공개 메소드

Gets a port from a port supplier. (http://msdn.microsoft.com/en-ca/library/bb161812.aspx)
public GetPort ( System.Guid &guidPort, IDebugPort2 &ppPort ) : int
guidPort System.Guid Globally unique identifier (GUID) of the port.
ppPort IDebugPort2 Returns an IDebugPort2 object that represents the port.
리턴 int

GetPortSupplierId() 공개 메소드

Gets the port supplier identifier. (http://msdn.microsoft.com/en-ca/library/bb146617.aspx)
public GetPortSupplierId ( System.Guid &pguidPortSupplier ) : int
pguidPortSupplier System.Guid Returns the GUID of the port supplier.
리턴 int

GetPortSupplierName() 공개 메소드

Gets the port supplier name. (http://msdn.microsoft.com/en-ca/library/bb162136.aspx)
public GetPortSupplierName ( string &pbstrName ) : int
pbstrName string Returns the name of the port supplier.
리턴 int

RemovePort() 공개 메소드

Removes a port. Not implemented. (http://msdn.microsoft.com/en-ca/library/bb162306.aspx)
public RemovePort ( IDebugPort2 pPort ) : int
pPort IDebugPort2 An IDebugPort2 object that represents the port to be removed.
리턴 int