B
Brad Combs
Newsgroup,
I was curious if anyone could help me with a problem I'm having with
p/invoke and a structure from the credential manager API in CE 5.0. The
structure is in cred.h as:
typedef struct _CRED {
DWORD dwVersion;
DWORD dwType;
PWCHAR wszUser;
DWORD dwUserLen;
PWCHAR wszTarget;
DWORD dwTargetLen;
PBYTE pBlob;
DWORD dwBlobSize;
DWORD dwFlags;
} CRED, *PCRED, **PPCRED;
So my two questions are:
1) Are the PWCHAR types just strings?
2) Does anyone have any insight into how to handle the PBYTE type?
Sorry if these are easy questions.
Thanks,
Brad
I was curious if anyone could help me with a problem I'm having with
p/invoke and a structure from the credential manager API in CE 5.0. The
structure is in cred.h as:
typedef struct _CRED {
DWORD dwVersion;
DWORD dwType;
PWCHAR wszUser;
DWORD dwUserLen;
PWCHAR wszTarget;
DWORD dwTargetLen;
PBYTE pBlob;
DWORD dwBlobSize;
DWORD dwFlags;
} CRED, *PCRED, **PPCRED;
So my two questions are:
1) Are the PWCHAR types just strings?
2) Does anyone have any insight into how to handle the PBYTE type?
Sorry if these are easy questions.
Thanks,
Brad