BlackIce_GetLastError

 

#include “BlackIceDEVMODE.h”

 

DWORD        BlackIce_GetLastError();

Description

Returns the last error code that has occurred in the system. This function helps to debug programs.  If the error number is a positive number then it is based on the MSDN GetLastError values and you can use the FormatMessage function of the Microsoft API to return a text string description of the error.

 

For the possible error codes, please refer to the following MSDN webpage: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx

 

If the error returned is -1000 then the DEVMODE value was NULL. 

Parameters

Return value

The error code.

Programming Notes

None

Code Example

None