The GetRange method retrieves the highest-numbered port and lowest-numbered port in the range.
HRESULT GetRange( [out] long* pdwPortLow, [out] long* pdwPortHigh );
Pointer to a long that on return specifies the lowest-numbered port in the range.
Pointer to a long that on return specifies the highest-numbered port in the range.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function GetRange( _ ByRef pdwPortLow As Long, _ ByRef pdwPortHigh As Long _ ) As LongLong
Reference to a Long that on return specifies the lowest-numbered port in the range.
Reference to a Long that on return specifies the highest-numbered port in the range.
If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
This is a convenience function to get both limts of the range with single function call.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
IFPCRestrictedPortsRange
FPCRestrictedPortsRange
FPCRestrictedPortsRange
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.