I am trying to determine the P / Invoke signature for the following method (defined in propsys.h )
PSSTDAPI PSRegisterPropertySchema( __in PCWSTR pszPath);
I saw on WinNT.h that PCWSTR is an alias of LPCWSTR as
typedef __nullterminated CONST WCHAR *LPCWSTR, *PCWSTR;
And PSSTDAPI is an alias for HRESULT
So, how should the P / Invoke signature be for the PSRegisterPropertySchema method?
source share