The SmsGetToken function retrieves a token at the specified index from the specified filter or inventory rules folder.
SMS_STATUS SmsGetToken(
HANDLE hFilter, // Handle to filter or inventory rules folder.
INT iIndex, // Index of token to retrieve.
TOKEN *pTokenInfo // Pointer to TOKEN structure to receive the
// token information.
);
The SmsGetToken function returns a status code SMS_STATUS. If successful, the function returns a status of SMS_OK. Otherwise, it returns one of the following manifest constants: