CUT_RAS::InitRAS
BOOL InitRAS()
Return Value
UTE_SUCCESS |
Operation completed successfully. |
UTE_RAS_LOAD_ERROR |
Could not load the RAS DLLs. |
Remarks
This function loads in the RAS DLLs dynamically.
This allows the class to be used in applications where RAS may or may
not be installed. For Win95 OSR2 and later the RASAPI32.DLL is used. For
earlier Win95 versions RNAPH.DLL is used for some functions. This DLL
may be re-distributed since it is not a part of RAS but a patch for
early Win95 versions.
This function SHOULD BE CALLED prior to calling other functions of CUT_RAS.
Note that InitRAS is called internally by some functions of the CUT_RAS
class such as EnumEntries and EnumConnections.