OEM-Provided DLL and Function
The following code sample shows the syntax for the DLL function header.
STDAPI GetUniqueSuffix (WCHAR *wszUniqueSuffix)
Note wszUniqueSuffix must be less than or equal to (<=) 128 characters.
Allocation or deallocation of wszUniqueSuffix is performed outside of the GetUniqueSuffix function. No allocation or deallocation occurs inside the function. The SAConfig.exe file passes an empty wszUniqueSuffix, and receives a unique suffix within that variable. The S_OK value should be returned upon successful execution. Any return value other than S_OK signals that the executable file called did not execute successfully.